NetQuery's Q&A profile
Visual FoxPro does sqlserver have the funtion as same as recno() of vfp?
if not,how can i get the unique numbe of each record for example in vfp i can do like this select *,recno() from tablename About the only way to achieve this with a single statement in T-SQL is to use a self-join... there are also other ways to achieve this in SQL Server using more than one line: http://databasejournal.com/features/mssql/article.php/10894_2244821_2 ...as Alex has already pointed out, depending on your application, the ...Show All
Visual Studio 2008 (Pre-release) XAMLPad : System.NullReferenceException
Hello, XAMLPad refuses to start up. It simply returns System.NullReferenceException I am attempting to use the WinFX SDK on XP SP2 (P4 3.4GHz, 1Gb DDRRAM) I have installed everything in the following order : 1. WinFX Runtime Components September CTP 2. WinFX SDK September CTP 3. Visual Studio Beta 2 4. Extensions for Visual Studio (Avalon Templates) Here's the CLR Debugger Output: 'Managed': Loaded 'C:\WINNT\assembly\GAC_32\mscorlib\2.0.0.0_ ...Show All
Windows Forms Vertical Text
How can I draw text on either a label or in a picture box in such a way that the text will a) be vertical and b) it will read from bottom to top I essentially need to rotate the text 270 degrees. Thanks!! Check ...Show All
Windows Forms Location advice for a Custom Collection Class
Hello, I have a custom collection class, which I plan to bind to a datagrid. The datagrid will be used to present the end user with a list of customers stored in the system. The datagrid will be read-only because its function is sim ...Show All
Visual Studio Express Editions VSExpress & .Net Framework 2
I installed both VB and VC# Express a while back, along with the required .NetFramework2 Beta. Both products worked fine after the install, but recently I installed another product which required the .NetFramework v2 but refused to work with the Beta copy I had installed with the Express packages. I checked on the MS Downloads page and found that apparently the .NetFramework v2 has been released, so I uninstalled the Beta and installed the ...Show All
.NET Development oleDbCommand Fill error
Hi, I have a dataset that is filled from a OleDBCommand that reads an excel file. This dataset is a typed dataset with a specific definition, meaning that it has some fields of type Double and others type string. For some strange reason when I tried to the Fill from the OleDbCommand I got an error that said: "Input string was not in a correct format. at System.Data.DataColumn.set_Item(Int32 record, Object value) Couldn't store < ...Show All
.NET Development Exception: DataTable internal index is corrupted: '5'. on ...
Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not displa ...Show All
Visual C# Passing a buffer to a COM call?
I have an external COM interface written in C++. The method I'm interested in looks like this in ildasm: .method public hidebysig newslot virtual instance void OpenChartDirect([in] string marshal( bstr) bstrChartName, [out] uint8& pbData, [in][out] uint32& cbSize) runtime managed internalcall { .override CHARTSERVERLib.INcxServer2::OpenChartDirect } // ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the ...Show All
Visual Studio 2008 (Pre-release) Method parameters
Hi, i would like to know what the parameter replacing the StartingUpCancelEventArgs is in the latest version of C# or the Winfx feb ctp really. I'm reading a book based on an earlier version clearly. The method is: void AppStartingUp(object sender, StartingUpCancelEventArgs e) { ..... } Intellisene has not a hit at the second parameter, and instead it gives the alternatives StartupEventArgs and StartupEventHandler ...Show All
Windows Forms it is NOT possible to setup win app without .net Framework?!!!!!!
Hi Folk I have created a Win .net Application and when I try to install it, it asks me to install the .net Framework first!! Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!! ...Show All
SQL Server SSIS
Iam copying the data from a excel file to a database using SSIS.The excel file has a accounting column to store money (ie $ 789.2344667) etc. In database it has a currency column for the same. But when we copy the data running the ssis the value is rounded off to the 4th decimal place and the rest gets truncated. ie a value of 789.2344667 goes to 789.2345. Can any body suggest me a way by which we can get the accurate value in the dat ...Show All
Software Development for Windows Vista Print WWF documentation
Hi I really want to print the WWF documentation but the WWF Help browser leaves no much support to print all the pages. 1. Is there a way to print the documentation as is 2 Or, can I download the documentation as a PDF file or the like, which would make printing possible. Regards Anders There are 6 top level Workflow Documentation topics, and the Document Explorer can allow you to print a topic a ...Show All
Windows Forms Full-skinable Applications
I've been searching for a "how to" or a demonstration programm, thats explains how i can make a application fully skinned. And by skinned i don't just mean an shaped form using regions. The same thing should be possible for butons and  ...Show All
.NET Development System.DirectoryServices.Protocols.LdapConnection class
Hi all We use System.DirectoryServices.Protocols. LdapConnection to connect to the Sun Directory Services 5.2 We cannot find any documentation on this class either on msdn or other internet resources. We have some questions that we'll be glad to be answered or referenced to some resource. 1. When exactly the connection is actually opened. We see that there is not need to call the Bind() method to work with directory. Enough t ...Show All
