agjevik's Q&A profile
Smart Device Development Serial Port Q .NET CF 2.0
Hi. I realised there was a serial port component in .NET 2.0, which is cool I haven't touched it nor played with it but will do. But currently have a question. Serial Ports are Comm Ports correct Would I be able to use the IR comm port/serial port to send data using this component (without connecting to a device for example) Hi, NETCF V2 provides a managed SerialPort implementation consistent with the Desktop framework. ...Show All
Windows Forms DataGridView events master detail
I have 3 nested DataGridViews (Parent, child, grandchild). Which event in the grandchild(most detailed) DataGridView should be used to capture when it's data has changed Since it's bound to the child, which is bound to the Parent, it's data changes when either of these other two grid's change. I've tried the grandchild's DataBindingComplete and SelectionChanged events but these sometimes fire more than once when clicking ...Show All
Visual Basic Link
How do I make a link that opens in a new browser window instead of an existing one Here is the code you want to execute. Process.Start( "C:\Program Files\Internet Explorer\IEXPLORE.EXE" ) I am unsure what you are asking about afa a "link" is concerned ...Show All
.NET Development Creating dynamic type permissions (System.Reflection.Emit)
In the example i took from MSDN i see a line: new SecurityPermission ( PermissionState .Unrestricted).Demand(); My question is what permissions i have to have to be able to create dynamic type ...Show All
Visual Studio Express Editions Very confused beginner what am I missing
I have tried many example that I have ran accross on the internet on how to add a row to a table in Visual Basic Express edition and of course none of them are working "Obviously I am Stupid". I have also created a new project and not have allowed the database to be copied into the project "getting past the whole making a copy of the database to the debug directory issue" I found the following articles at microsoft which tells you what I thought ...Show All
Visual Basic Ingres ADO question
I'm creating a VB.NET (2005) app using Ingres r3 as the backend db. I'm using the Ingres ODBC driver and ADO from Microsoft. I can read data from the db with no problem, but I can't write it back. (err msg says it is a read only driver, but Ingres tech support says it's a read/write). Anyone trying to do the same thing Hi Tarne, I am sorry if I made any confusion. This is the general troubleshooting steps. A ...Show All
Visual Basic Question about SaveFileDialog
I can get it to work perfectly, but only if I am overwriting a file. I cannot get it to create a new file then save. Say, I type a filename into the Dialog instead of choosing one from the list. If I do this it won't work. What am I doing wrong. Enjoy! Troy, If the file does not exist you have to create it. Please use the following code as reference. With New SaveFileDialog .CheckFileExists = False .Filter = "te ...Show All
Visual C++ Share Projects in one solution
Dear all, I create two projects, say A and B, in one solution in VC.net 2003. They are basically 2 executable applications, A.exe and B.exe. In project A, it uses some classes created in project B. I include the header B.h in A.h, and add Additional Include Directories to which B.h resides. Compile is OK but when linking it looks like the LINKER does not know where to link obj in B project and gives the error me ...Show All
Windows Forms Problem inserting a new record with VB 2005 using a table adaptor and SQL 2005 Express
I have a Windows form that is bound to a customer dataset. The form displays a single customer record with text boxes for FirstName, LastName, Address, etc. I created a Fill Query to accept a key field parameter and return the complete record. When I use my SQL Fill command, passing it the key field (which is an identity field) , it populates the text boxes on the fo ...Show All
.NET Development Problem with Type Converter
Hello, I am experiencing a design time problem while designing a control. I have designed a Custom Web control 'DataProvider' which has a 'DisplayPanelDataSources' collection property which contains a collection of WebControls which are used to define data source for each 'DisplayPanel' Web custom control as 1 to 1 relationship such as: ------------------------------------------------------------------------------------------------------- ...Show All
Visual C++ may some master-hand help on this issue?
i'm a newcomer to WIN32 and had trouble while having a Windowproc as menber of my own class. here is the code: //Window.h I'm guessing that the problem is (or is similar to) passing a pointer to the Window::MainWindowProc function to CreateWindow. CreateWindow needs to take a stdcall-style callback. CALLBACK is half of it, since it decorates the function as __stdcall (as opposed to __cdecl or a C++ member function).&nbs ...Show All
Visual C# RichText Text
Ok. Here is my scenerio. I have a RichTextBox, and a folder full of images. What I want is to have in a button_Click event, where the RichTextBox gets filled with the names of the images. Something like... foreach(ItemName in Folder) { RichTextBox.Text = ItemName } Can someone help me please. Hope this helps: //You can initialize this path to your image folder path //either in the code or on the fly by pulling inf ...Show All
Visual Studio Express Editions Can't find a "SysInfo Control" equivalent
Hi, I really like the Visual Basic Express. I am having a problem getting information about the system battery. Something like this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon98/html/vbconsysinfoscenario3monitoringbatterypowerstatus.asp would do. However I can't find a "SysInfo Control" to use in Visual Basic Express. The only reference in the msdn I can find is here: http://msdn.microsoft.com/library/default.a ...Show All
Visual Studio Express Editions Whats the eisest way to turn a char array into a string
im trying out the ReadBlock function to get characters out of an array then i'd like them to be turned into a string. Is there anything eiser than this ( using a for loop to put the characters in the string one by one) - using System; using System.IO; using System.Data; namespace myProgram { class Program { static void Main( string [] args) { string mystring = "" ; char [] mychar ...Show All
Visual Studio VSIP licence required
My copy of visual studio 2003 now comes up with VSIP licence required. As my copy comes from the MSDN universal, is another licence required Can I roll-back to my MSDN licence Jason This information on the splash screen and the Help->About dialog simply means that you installed the VSIP SDK (now referred to as the Visual Studio SDK). In the past, VSIP was a partner-restricted program and not generally availa ...Show All
