Jes_'s Q&A profile
SQL Server Dealing with UDT - defined in SQL Server 2005 - within a C# application
Hi, Please I need to know how can I populate and retrieve data from an SQL Server 2005 database, which has a new user defined data-type UDT, using another C# windows application. i.e., how the C# application can recognize that UDT . Thanks in advance. Aya. ...Show All
SQL Server BI Dev Studio won't install with June CTP reinstallation
I am attempting to install the BI Development Studio, from the SQL Server 2005 June CTP, on an XP machine. It installed successfully the first time I installed it, along with all other Workstation Components and BOL. Subsequently I have uninstalled and reinstalled the Workstation Components, but the installation process does not fully install BI Development Studio. It creates the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE directory (where devenv.exe should be located), but this directory is empty other than the PrivateAssemblies and profiles subdirectories. After an installation , the Sta ...Show All
.NET Development Create virtual com port in C#?
I'm working on a project where I am reading from a com port to receive data from a GPS receiver. I can do this without any problems except for one. There is also another application that wants to read from the com port at the same time. I know there are com port splitters that I could use but I'd rather not have to use any 3rd party software. Is anyone aware of any way of emulating a com port so that I can point the other application to this port and have it read the data that I am spitting it Thanks, Brady I don’t believe that this is possible to emulate a com port through the SerialPort class. The only op ...Show All
Visual Studio Express Editions Newbie - How to port application from VB Express to Web Developer
Good morning, I have surprised myself by creating a wonderful little app in VB Express Edition 2005 that reads SQL data, allows the user to use various filters, calculates fields, updates the datavaiew/dataset, and exports data to Excel. Between each of the three pages the app creates a xml file of the data. I have now downloaded Visual Web Developer 2005 Express Edition as I would like the application to be available on the web. Am I right in thinking that effectively I have to re-write everything within VWB, or can I just put a VWB 'front end' on my existing code etc Is there a resource simple enough to take me through what's nee ...Show All
Smart Device Development how to let the system check external storage?
Private Function IsStorageCardExist() As Boolean Dim storageCardPathConst1 As String = "\SD card" Dim storageCardPathConst2 As String = "\Storage card" Dim storageCardPath As String If (Directory.Exists(storageCardPathConst1)) Then storageCardPath = storageCardPathConst1 + "\backup\" Directory.CreateDirectory(storageCardPath) Return True ElseIf (Directory.Exists(storageCardPath ...Show All
SQL Server An incorrect or unsupported HTTP function call was made error
Hi All, I've got this error " An incorrect or unsupported HTTP function call was made " I can't browse SQL CE Agent using IE also. How to solve this error TQ You need to give more information for other people to help, for example, what device, OS, what IDE, what kind of program you are writing, where do you get the error, and how --- Lao K Visit my Blog for Windows Mobile Pocket PC Smartphone Programming Hints and Tips ...Show All
Visual C++ Batch Build Broken
Re Visual Studio 2005 Standard: I'm testing with a large project (240 components), and I found that parallel builds don't work from the Batch Build box, no matter what setting I use (1-32) for the number of builds. Oddly enough, parallel builds worked fine in Beta 2, and they still work if I choose to build a "solution." When I do a batch build, however, I'm back to one CL process at a time. This same project took 3 minutes to build in Beta 2. It takes over 20 minutes to build in the release version. My build machine has two Opteron dual-core processors, and my project has a large number of subprograms, each with an x86 and an x64 target. Un ...Show All
Windows Forms Enabling menu item
Is there any way to enable a menu item that exists on an MDI form from within a child form My MDI menu item is declared as follows: Friend WithEvents mnuAdHocExtOrdStatDlyRptPend As System.Windows.Forms.MainMenu Me.mnuAdHocExtOrdStatDlyRptPend = New System.Windows.Forms.MainMenu() Here is the code to initiate my child form: Private Sub OrdStatDlyRptPend_Click(ByVal sender As System.Object, B ...Show All
.NET Development arrays of Datasets??
Easy guys, I’m just a beginner, used to be a programmer long time ago but now I forgot everything ( I’m a pro Poker player now), anyways; I am converting a program I wrote decades ago in Vb6. I need to now how I can make an array of datasets, if that is what I need to convert the equivalent of; for I=2 to 80 Set Trec(I) = New Recordset Make a query_name etc.. Trec(I) .open query_name, adocon,adOpe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting Direct3D 10 Samples (April SDK) running
Hi! I'm using the Vista Beta 2 and I'm trying to run the Direct3D 10 samples in the April SDK. Unfortunately they all don't work on my computer. They should work in a Direct3D 10 software emulation mode, right Do I have to change any (DX) settings Or do I need extra software Thanks Nico Which operation system do you use The Direct3D 10 part of the June SDK works only with Vista Beta 2. ...Show All
Windows Forms CSGL
Hi all I am using CSGL Library , and when i am trying to make a debug build from visual studio .net 2003 it succeeded , and when i am trying to make a release build it failed and give me the following message "An unhandled exception of type 'System.ArgumentException' occurred in system.drawing.dll Additional information: Invalid parameter used " how can i overcome this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why to use DirectX?
Why would I use DirectX What's that "something" in it, which makes it better than others I know that it's very useful and so on, but can someone tell me what is its strength. I'm thinking should I begin to practise DirectX. Thanks, Timo Speed. Also, it's the industry standard. But, most people find the COM interface structures a little intimidating at first. ...Show All
.NET Development SerialPort Timeouts
Hello It seems that there is a problem with SerialPort timeouts: For start there is no way of setting the ReadTotalTimeoutConstant and the ReadIntervaTimeout values the way we used to do with Win32. Second,i keep receiving one byte immidiatly after writing something to the port no matter what readtimeout i set. The sample code is: //port settings: MySerialPort.PortName = "COM1"; MySerialPort.BaudRate = 9600; MySerialPort.Parity = Parity.None; MySerialPort.StopBits = StopBits.One; MySerialPort.ReadTimeout= SerialPort.InfiniteTimeout; MySerialPort.WriteTimeout= SerialPort.InfiniteTimeout; ...Show All
SQL Server Inserting a string with apostrophe to SQL Server
Hi, I develop a windows application using C#. I try to take a value from the textbox and put it in the table on SQL server. I create a connection string and the command string (ODBC). The value I want to insert surrounded with apostrophes. The problem occurs when user wants to insert apostrophe in the textbox. It is inserted to the string value and SQL server recognizes it as an end of string. Does anybody know how to resolve this problem thank you. Normally this should work using paramters ratehr than dynamic sql, could you please postyour codesnippet here HTH, Jens Suessmeyer. ...Show All
Windows Forms System.NullReferenceException: Object reference not set to an instance of an object.
I am getting the following stack trace when trying to use the OpenFileDialog. Does Anyone know how to fix this Thanks in Advance. Eric Howard Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.UnsafeNativeMethods.GetOpenFileName(OPENFILENAME_I ofn) at System.Windows.Forms.OpenFileDialog.RunFileDialog(OPENFILENAME_I ofn) at System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner) at System.Windows.Forms.CommonDialog.ShowDialog() at MyApp.FileCommands.OpenSystem(mainForm parentForm, Application dataApplication) in FileCommands.vb:line 32 at MyApp.mainForm.cmd ...Show All
