Horky's Q&A profile
Smart Device Development Storing User data
Hello, How would I create a text file in the default installation folder of a program on a pocket pc I want the user to not have to specify where the file needs to be saved. I'm trying to use it to store data, that the user could then print using a standard text editor on pc. When using the full framework I always used: "my.computer.filesystem.writealltext(my.computer.filesystem.specialdirectories.mydocuments & "\data.txt, lnghow ...Show All
Windows Forms Control Suites
I'm a GUI designer working in the planning stages of a project to be written in C#. One of the requirements for the look of the GUI is that it should not look dated after the move to Vista. We are trying to get a suite of controls/components that will help with this. Does anyone have suggestions Regards... If you're worried about your app looking up to date, perhaps you should look into the Windows Presentat ...Show All
Visual Basic acces My.Setting.XXX where xxx is in a string
I want to access My.Settings.XXX such that XXX is in a string variable. Can that be done If so how I tried variations of the following Dim xxx As WindowsApplication1.My.MySettings xxx = CType ( "text" , WindowsApplication1.My.MySettings) My .Settings.xxx = value but this does not work. Alternatively, how can I iterate thought My.Settings I'm trying to prevent a huge repetition of the same code. You can try ...Show All
Visual Basic Slow ReadOnlyCollection
Hi all, When I try to search all files recursively (to use with the copy command), with the following code: Dim c As Integer Dim files As ReadOnlyCollection(Of String) files = My.Computer.FileSystem.GetFiles("C:\", FileIO.SearchOption.SearchAllSubDirectories, "*.*") For c = 0 To files.Count ListBox1.Items.Add(files(c)) Next It takes way too long to collect the files into the collection, ...Show All
Visual C++ WORKABLE VERSION OF VC++
Can anyone direct me to the lastest workable version of vc++. Obviously Microsoft Visual Studio 2005 is useless. Even their hello world has build problems. Converting older versions always gives some error & When one generates a new program it doesn't even see it! I'm going back to my old disk version of Visual C++ from years ago but maybe someone knows of a more contemporary version which works. Is 2003 valid 2002 Any comments would be ap ...Show All
Visual Studio Express Editions install error
Downloaded & installed OK on desktop. On Laptop, still getting the Windows Installer 3.1 error. The installation stops with the error message to send or not to send to Microsoft. On the download to desktop, the Windows Installer 3.1 wasn't one of the items being installed. However, when I did the install to the laptop, it was in the list of items it would install. Both systems xp pro sp2. Any help I was ...Show All
Visual Studio Tools for Office Adding image to commandbarbutton
According to the following example ( sample ) I tried to add my own images to a custom toolbar. Only when I call the ' ConvertImage.ImageToIPicture _ (MyForm.PictureBox1.Image)' I get the error 'HRESULT E_FAIL' (I added the images to my project, changed also the build action to embedded resource, and also added my images to an imagelist) Does someone have an id ...Show All
SQL Server Cannot start the Reporting Service
I am currently working on a windows 2003 server with SQL2000 (developers edition). My Sqlserver and Report Server are on two different machines. This was working yesterday but frustratingly not this morning. Everytime I try to start the Reporting Server service, it gives me the following message: "The Report Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for exampl ...Show All
Visual C++ Help Need Compiler Errors
Hi All, I am having the following error when i try to recompile my source from VC 6.0 to .NET 2003. Any help in resolving the error is appreciated. ------ Build started: Project: dataAccess, Configuration: Debug Win32 ------ Compiling... TemplateBinMonitor.cpp c:\airs6.x\tags\CODE\interface\state\TagsString.h(93) : warning C4018: '<' : signed/unsigned mismatch c:\airs6.x\tags\CODE\implementation\h\dataAccess\TemplateBinMonitor.h(49) : w ...Show All
SQL Server Previous Row Calculations
Hi all I am wondering if anyone know a way that you can look up a value from the previous row to do a calculation on. I have a field that I need to subtract the same field from the previous row to validate. Is this possible in a query Thanks Kenzie Slight simplification, you can use only the CTE in the self-join like: WITH t_seq AS ( select ROW_NUMBER() OVER(ORDER BY <column_list>) AS seq from <table> ) select . ...Show All
Visual Studio Team System Team Foundation Valid Users members
In Beta 2 and July CTP, I was able to add users into the global Team Foundation Valid Users VSTS group, but now in Beta 3 the button to add members is greyed out. Is this intentional or am I missing something It looks like now I have to add users per project instead of globally into that group Thanks. This is by design. You can observe the same behaviour for the Service Accounts group. TFSSecurity.exe (formerl ...Show All
Windows Forms Adding a timer to a StatusStrip
Hello. I am currently attempting to replace my infragistics components with the new windows forms components in framework 2.0 (hopefully). I am having difficulty, however, discovering how to add a time element to the StatusStrip component (or StatusBar for that matter). There was an option in the infragistics status bar to add a time panel, etc, but I cannot see a way to do that nor any documentation on doing that in the .net c ...Show All
.NET Development "ExecuteReader requires an open and available connection. The connection's current state is open"
I am trying insert records using oleDbCommand.ExecuteNonQuery. The records are bing inserted properly. But after couple of inserts, the program sits on the line right after the line for instantiating the command object ie when i click on break button from the IDE [after being waited long a time] , the second line [ retVal = m_OleDbCommand.ExecuteNonQuery();] is getting higlighted with green collor. m_OleDbCommand = new OleDbCommand (Ins ...Show All
Windows Forms MDI Controls in front of any child
Please help with this: I have a MDI form, with several buttons on it; when i try to show any child form, the form appears behind the buttons, wich is wrong because the buttons should stay behind the child forms. Annonying problem. Thanks. ...Show All
Visual Studio Team System Branch with DLL's files
Hi, How can I branch folder with all the DLL's files Making branch from the IDE does not copy the DLL's file (RC version). Thanks Are the DLL files checked in to SCC TFS Source Control does not check in DLL files by default. If you want your files checked in then add them to SCC using the Source-Control explorer. If they are not checked in then they will not be branched. Thanks, Erik ...Show All
