mahricky's Q&A profile
Windows Forms .NET & WinForms for touchscreen applications
Hi All. I'm just learning WinForms with C# and I am primarily concerned about creating applications to be deployed on a touchscreen. I have a few questions that I hope somone can shed some light on, point me in the right direction for additional information, or offer any suggestions. My biggest concern is (semi)transparancy. Ideally I'd like to have semi-transp ...Show All
.NET Development Selecting a Row from the Dataset and Insert into Database(only one row)
Hi all, I am currently coding my final year project and would like some help. I need to select a row from the dataset and insert into the database(only one row at a time). After inserting into the database, I need to delete that row which has been inserted into the database from my dataset. I sincerely hope you could provide me with some help. Thank You, I would really appreciate it. Regards: Fiza Here is my code. '----------------select student into the warning letter (1)------------------------------- Dim adminNo As String Dim GRP As String Dim x As Integer Dim counter As Integer = ...Show All
Windows Forms external app in winform
Hello to all, i’m rookie in vb.net, so i’m sorry if this is a very simple question. i need to run an independent application, hosted in c:/Folder, in windows form. i think i sould use system.diagnostics and system.processes but how any sugestions thanks yupypt Applications have control over their own windows, you cannot force an exe to be "embedded" in the window of another application. ...Show All
Visual C# Ghost Variables?
I am currently developing an Order Entry application in C#. The order entry process follows a wizard-like format. We have a class, WizardBase, that contains the screen to display. At one point, I had enabled /unsafe code in the project properties. I had also enabled Optimized Code. One of my team members noticed that he couldn't properly declare variables in any function. We tried, and the variable declaration was sporadic at best, most times it didn't work at all. Here's an example of what I am saying: int i = 0; Breaking on this declaration and viewing i in the watch window, would report "i does not exist in the current ...Show All
Visual C++ Error C2552
Hi, I'm facing one problem regarding error C2552 in VC++.net but could not locate proper solution. Can anyone please help me out static CGXWriteEntry _map[] = { GX_EXCEL_WRITEMAP_ENTRY(typeBOF, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typeWindow1, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typePalette, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeFont, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeXF, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeStyle, gxTable) GX_EXCEL_WRITEMAP_ENTRY1(typePalette, gxTable, gxPassTwo) GX_EXCEL_WRITEMAP_ENTRY(typeBoundSheet, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeEOF, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(ixfNULL, gxHandler) }; ...Show All
Visual Studio Logon failed with Dataset pushed to Crystal Report
I am using the Crystal Report libraries(9.1.5 dated Sept-Oct 2002) bundled with Visual Studio .NET 2003 to export reports as PDFs or to print directly to network printers from the web server. I am using strongly types datasets as the datasource. After re-installing my application on the web server, my crystal reports throw 'Logon Failed' exceptions for all reports whether exporting to PDF or printing. I have other web applications on the web server that were working before the latest install of this app and now those applications also give the same 'Logon Failed' error. My code is pretty simple: CommercialCrimePolicyDeclaration report = n ...Show All
Visual Studio Express Editions com and microcontroler
I’m a beginner with Visual Basic. My final faculty project (assembly hardware and software) consists of driving microcontroller from PC. I have choused visual basic 2005 express edition to make graphic interface ( supervising controlling and data acquisition ) Argument: I ‘m using serial COM port for connection between devices. I my see lateral (ascii) on Hyper terminal; I have programmed my microcontroler to send me that data. And at first I would like to see number sent from microcontroller in TextBox tool. I have added serialport from toolbox to F ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX messes up other Threads!
This is my situation: In my app I create a new form that renders directx things (simple meshes...)... The DX (DirectX Feb 2006) form starts up it's own render loop, which runs until the form is disposed. On another thread I run a control that displays a graph... When adding points to the control it calculates the DateTime value to it's internal format and then displays the form. If the DX form is disabled (not even loaded) the graph works but if not then the graph doesn't work correctly as it calculates identical values for different dates! Example: without DX: 1.1.2006 20:10 => value 1 1.1.2006 20:34 => value 2 with DX: 1. ...Show All
Visual C# MessageBox
I kno I have posted this before, but I didnt get the response I was looking for. I have a messagebox, and when it pops up, I want every part of the computer to be inaccessable until the user presses ok in the messagebox. Can someone tell me how to do this I'm faily new to c#, but from what I've learned you can only make your application inaccessable with a messagebox not the entire computer. Thats what managed code is all about, so that your code doesnt interfere with other applictions. Look into unmanaged code. ...Show All
Smart Device Development VB Documentation Comments
In a VB project in VS2005, you can insert triple-tick documentation comments by typing three ticks ('), the comment character. When you do so, VS uses reflection to fill in the documentation outline, including the summary node and nodes for any parameters. An alternate way to do this is to right-click on the class/field/property/method declaration and choose "Insert Comment". However, I'm noticing that this does not work in several VB device projects I have. Typing three ticks does nothing. The Insert Comment menu item isn't even there on the context menu. It seems to always work in brand new VB device projects, bu ...Show All
SQL Server How to handle multiple column conversions
I have multiple columns in a table that I only want to convert if they are not null or of the proper type. I don't really want to redirect the whole row if one of the conversions fails, rather I would just not want to do the cast or set it to another value. In this scenario is it better to use a custom script or multiple tasks The multiple tasks seems like a lot of overhead for processing the same data. Just curious how others handle this scenario as it seems as though it has come up quite often on our current project Thanks for the assistance. -Krusty PS: Is it possible to embed evaluation statements along with conversion statements i ...Show All
Visual Basic VB2005 Express Beta 2 to Express Edition
I upgrade my vb2005 Express beta 2 to Express Edition but all my previous projects doesnt work, an error occured when I try to open the form in design view. the error message states "there is no editor available for 'DomFile\frmPass.vb' and "make sure the application for the file type (.vb) is installed" Please help me on this Thanks... Dominic.. Hi, I have encountered this kind of error. But it generated because I tried to open a VB project on a visual studio where VB.Net was not installed. Is the express edition that you downloaded is a VB Express edition Coz if it is then it clearly is a installation problem... cheers, Paul ...Show All
Visual Studio Team System What does this mean?
HI to all! I've runned a load test and this message appears: Exception occurred: The given key was not present in the dictionary. What does this means And the second question: In the same load test was message: More than 1000 errors of type 'Exception' and sub type 'RequestEnumeratorException' have occurred; additional errors of this type will not be reported. How can i change limit of 1000 for the curent type (or for any type) of errors Thanks in advance! Hello Rick, I found the following in QTAgent.exe.config, but it seems none of them are related ...Show All
Visual Studio Team System Using August CTP of VS2005 WebTest creation hangs.
I attempt to create a new WebTest using the August CTP of VS2005. Once I hit the OK button VS hangs. If I hover over the VS icon in explorer I see the msg "VS is busy attempting to complete and internal operation". Task Manager shows iexplorer.exe process launched but no sign of IE or the the Webtest recorder ToolBand. If I kill the iexplore.exe process from Task Manager I get control back in VS and an empty Webtest. Any ideas Was this a clean machine Most of the recorder problems we've seen have been the result of registration or GACing problems. Make sure there is only one recorder bar in the GAC and that ...Show All
Visual Studio Express Editions Namespace missing? + Running from shared drives...
I am trying to create an application that will send emails in response to given events... however, all of the code examples I've found reference system.net.mail When I try to add the reference (Project, Add Reference...) there is no sign of system.net or system.net.mail Can anyone tell me why this might be missing, or how to get it to appear I am creating a console program if that is any help. Also, when I try to run my built applications from a shared network drive, they fail to load. I gather this is a 'trust' feature of .net and that this can be fixed using the .net wizards option in Administrative tools. However, wh ...Show All
