gonlazaro's Q&A profile
Windows Forms Disable Enter in GridColumnStyle
Ok Now I have this code to insert into the inherited datagrid. Protected Overrides Function ProcessKeyPreview(ByRef m As System.Windows.Forms.Message) As Boolean Dim keyCode As Keys = CType(m.WParam.ToInt32, Keys) & ...Show All
Visual C++ how to use this dll in managed code
I create a MFC dll file like below, which is not compiled from CLR environment. //////////////////////////////////////////////////////////////////////////////////////////// ScanComm.dll head file //////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include "serial.h" #define MAX_BARCODE_SIZE 255 #define MAX_COMPORT_SIZE 10 class ScanComm :public CSerial { public: ...Show All
.NET Development Windows.Forms.Datagrid
I want the user to select multiple rows from a datagrid but I'm having trouble coding how many rows were actually selected. I can get the current or last row selected but not all of them. Is this possible with a datagrid Anyone have any suggestions thanks. s. Hi! Are you working in .NET 2.0 Then throw away DataGrid and use DataGridView - it much better and have more features. It have SelectedRows ...Show All
Windows Forms How do I insert an exel spreadsheet in my form
Hi I want to be able to place an excel spreadsheet in my win form. How can I do this. Also how do I work with Excel Please help thanks Providing that Excel is installed on the machine running your app (version&nb ...Show All
.NET Development How do I reference a string in a XML file that's part of my C# project?
Hi, I'm working on doing all my strings like message, label, title... in a XML file that's part of my C# (VS 2005) project. I'm doing this for Localization(Globalization). Can someone tell me how I can refer to my string(the us-en one) in my XML file (like subsituting the string in a MessageBox.show. < xml version = " 1.0 " encoding = " utf-8 " > < trans-unit id = " m1 " > < source x ...Show All
Visual C# Text Box field value into the "filter" in the Query Builder?
I'm new, sorry for the simplicity of this question. I'm using VS 2005, C# and connecting to an SQL db. Web form, not windows form. I've got an sql connection to my DB, and can display things just fine when doing a gridview, but I want to limit the gridview's output. I've made a text field on the page for "application_ID". I want the user to be able to enter in an application ID number into the field and have the gridview on ...Show All
Smart Device Development Can I run Embedded VC++4 applications on windows CE 5.0??
Hi, I'm a user of embedded VC++4 and I use it with the POCKET PC 2003 SDK. My boss is planing to buy some new PDA's that come with Windows Mobile 5.0, my question is: Can my applications run on Windows Mobile 5.0 PS: I got the Service Pack 3 and Service Pack 4 for embedded VC++4 installed. Yes the binary built by VC++ 4 for PPC2003 can be ran in WM5.0. Microsoft did a grea ...Show All
Windows Forms .NET MDI
Does anyone know if there is a source code sample published by Microsoft (or anyone else) which demonstrates a .NET MDI text editor application - a bit like wordpad/notepad but with the ability to have multiple documents open Thanks. There's nothing official, but I just threw together a sample with a post-Beta2 version of Whidbey that should work with the June CTP. YOu can download the code from: http://windows ...Show All
Windows Forms controlling speaker's volume
Hi, How can I let a user control the speaker volume through my application What windows API does it any samples Thanks, ...Show All
Visual Studio Express Editions Progress bar
I am currently makeing a web browser in VB express and at the bottem i wish to have a progress bar . i have the bar in place .... but i need a script or the code to get it to tell the user how much the browser has loaded. Also does anyone know how to make a tool bar ... e.g. File | Edit | veiw | Help etc. I would be soooooo grateful ... thanks a bunch Rhys Durham look i am a newbie in this stuff... I ...Show All
Visual Studio Express Editions Running side by side VS .net 2003, 2005 Express Beta 2 and 2005 Beta 2 Team System for Developers
Hi, I currently run VS .net 2003 and Express Beta 2 for J# and C# on my test machine. I want to know can I also install VS .net 2005 Team System for Developers Beta 2 on same machine. Thanks I'm running into issues configurationg security with sql developers edition. Can ASP 2.0 work security issues with SQL developers edition without having to install the express edition I would appreciate your input. Wa ...Show All
Visual Basic Cannot find file
Dim options As String = ( "/quiet /norestart /overwriteoem /nobackup" ) Dim updates As String = ( "F:\Updates\" ) Dim di As New IO.DirectoryInfo( "F:\updates" ) Dim diar1 As IO.FileInfo() = di.GetFiles Dim diar2 As IO.DirectoryInfo() = di.GetDirectories() Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In diar1 Dim myProcess As Process = System.Diagnos ...Show All
Software Development for Windows Vista Is there any way to time procedures in vb2005.
Is there any way in vb2005 to time procedures to closer than a millisecond. I have an application running in the background and I would like to get a handle on how much computer time it is hogging. Thanks Dick Yes, you will have the best results with WINAPI QueryPerformanceCounter and QueryPerformanceFrequency would give you a sample, but need to go Gorm Braarvig ...Show All
SQL Server Creating a Data-Flow Component
I try to create a new Data-Flow Component. In Books-Online I found this link: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.de/dtsref9/html/9d96bcf5-eba8-44bd-b113-ed51ad0d0521.htm and the following pages. But I have not realized, how I have to create the new Data-Flow Component. What I to do for my first "Hello World"-Component SQL Server also includes 4 code samples of working data flow compone ...Show All
SQL Server how to use sqliostress.exe on remote server?
Hi, Can anybody help me with the command to use sqliostress.exe on a remote machine. I have, SQLIOStress /Fc:\temp\Stress.mdf /Lc:\temp\Stress.ldf /N /S3072 /I32 but how do I mention the remote server to test this utility. Regards, zia I don't think this is an option. Why can't you run it on the server locally ...Show All
