Robin E Davies's Q&A profile
Visual Studio VS2005 TS SP1
Every project can not be complie after I installed SP1, some messages be show in error list box like"C2144,C2143,C2059... at file string.h,tchar.h,stdio.h,stdlib.h...", why I only got the errors in string.h It seems the file string.h was updated in SP1, but the updated file was only placed in $(VCInstallDir)crt\src , and not in $(VCInstallDir)include , where the old copy remained and gave errors. I renamed $(VCInstallDir)include\string.h to $(VCInstallDir)include\string.h.bak , and copied $(VCInstallDir)crt\src\string.h to $(VCInstallDir)include\string.h . This fixed my build issues. ...Show All
Visual Studio VS 2005 installed fine, MDSN library having trouble reading a file? Help!!
I am recieving the following error while installing the first CD of the MSDN library that came in my VS 2005 standard edition box. Error 1305.Error reading from file: D:\Program Files\MSDN\MSDN8.0\Common\1033\_vsmsdn.hxq. Verify that the file exists and that you can access it. If I hit retry it just keeps popping up with the same error. The file does exist on the CD. what should I do disable any AV software you may have on your computer as it can have such effects. If the problem still continues then try to copy the CD/DVD contents locally to the harddisk and run the installation from there. If you still get the error then create an image of that CD/DVD using something like say, Nero, and the ...Show All
Visual Studio Express Editions Sample code for VB 2005 that does not work.
I am learning VB 2005 Express Edition with a sample in the class09 that is found in the MS web page. I am trying to save new records to the customer table but the records are not saved. This is what I am doing: I run the program. I add more records. With navigator I go back and I can see the new records. I close the program. I check the in database and the new records are not there. Seems like the records are saved in the DataSet but they are not saved in the table. The sample has the following code located in the click event of the Save button in the BindingNavigator object: Private Sub bindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) If Me.Validate Then M ...Show All
Visual C++ LNK2005 (VC8)
Hi! I'm getting following linker error (using /verbose): 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\lib\uuid.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbccp32.lib: 2> Searching ..\debug\polling.lib: 2> Found "public: __thiscall polling::Poller_SurfAce112_E1::Poller_SurfAce112_E1(void)" ( 0Poller_SurfAce112_E1@polling@@QAE@XZ ) 2> Referenced in init.lib(SA112Init.obj) 2> Loaded polling.lib(Poller_SurfAce112_E1.obj) 2>polling.lib(Poller_SurfAce112_E1.obj) : error LNK2005: "char const * __cdecl std::_Find(char const *,char const *,int)" ( _Find@std@ ...Show All
.NET Development passing dbnull to splserver express
I have an application i'm writing connecting to sql server express. there is a field call PayDate which is a text field and it passes the date to a coloumn in splserver which is a "date" type and allow nulls is checked. I can add and update the dates changed with no problem, but what I want to do is when the date on the textbox form is removed, I want to pass a "null" back to the PayDate column in sqlserver so it shows as "NULL" . When I used "mySQL", I had no problem passing a null back, but with sqlserver I can't seem to get this to work. Is there a way that when I remove the date from the textbox on the form and press "save" myBindingSource.EndEdit() myTableAdapter.Update( Me .myDataSet.myTable) I can pass ...Show All
Smart Device Development question about Numeric up down control
Is it possible to use Numeric up down control within Listview So that i can use the arrow to edit numeric data in the list view. Is it possible to do that Please help. Thank you Not an easy task, but doable. Check these blog posts on how to do it with theTextBox: http://blog.opennetcf.org/ayakhnin/PermaLink,guid,4d82068f-0b25-4b01-825d-4dffb0335817.aspx http://blog.opennetcf.org/ayakhnin/PermaLink,guid,d652ddf7-8702-4253-a431-357703dc63c1.aspx ...Show All
Windows Live Developer Forums running virtual earth mobile in pocket pc emulator
I am not able to run virtual earth mobile applcation in the pocket pc emulator since i dont have either of gps or wi-fi. Is there any other way i can make it run As far as my understanding goes VE Map Control is a web control which uses Javascript to make Web Service Calls and gets the data. For it work on a windows application we use Web Browser control. Since we can access maps on Pocket IE, i am looking at the possibility of replicating this scenario on the mobiles, unlike VE Mobile codebase which needs GPS support The possibilty I am looking at is [Thick Mobile Application + Web Browser Control + VE Map Control + Internet Connection] on a pocket pc emulator keeping in mind that we have support of Web Browser control in ...Show All
.NET Development Low performance on ADODB .Save in Web Application
Here is the code example: rs_Recordset.Save(sr_Stream, ADODB.PersistFormatEnum.adPersistXML) Response.Write(sr_Stream.ReadText) The bottleneck is the .ReadText property. For 3000 records it takes about 15min locally. The exported XML is used in PivotTable so it has to be generated as adPersistXML. Data fitering is done on the query level, so caching won't help. Are there any suggestions on how to improve performance on that Thank you in advance... ...Show All
Visual Studio Express Editions Can I use VBE 2005 classes in Excel 2003 VBA code?
I have a class library that I'm developing in Visual Basic Express 2005. I can use the classes in other projects in VBE, but I would also like to use them in VBA code in Excel 2003 (i.e. in the VBA code I want to be able to create instances of the classes from the class library). If that is possible, can someone please give me step by step instructions Yes, the project is a "ClassLibrary" project. To use tlbexp and regasm, I did the following: Opened a Command Prompt box Used the CD command to navigate to the \bin\release folder of my project directory Used "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\tlbexp" testclasslibrary1.dll to c ...Show All
Visual Studio Team System How to call Stored Prosedure?
Hi, I added a storedProcedureTableAdapter to MyDataset, this stored procedure return one int value, how to execute it and how to get this value from my windows app, I'm using VS2005 team. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving backups, refactoring, & other newb questions
Hi, I have a specific, minor question, and a general, major question. :) First the simple question. Is there any way within GSE to save a backup or earlier version of the file you're modifying, other than simply to "Save As..." I dimly recall that Word has some sort of version-saving feature; does GSE or VS have this I actually find it easier to use Windows Explorer to copy the file to a new folder, but that seems kludgy. Now the bigger question. I'm fairly new to coding, and while I can get things to work, I don't love the style in which my code evolves. I try my best to create classes and objects to do relevant work, and I try to keep methods short and specific. Still, inevitably I seem to end up with one class with ...Show All
Visual Basic Displaying Windows screen while program is not stopped.
I have a vb.net program (v2003) that needs to display a windows screen and pause x number of seconds before refreshing it again. However, I cannot get the screen to display unless my program stops. I have tried the Timer class as well as my own pause, but the screen will not display until I stop, not pause, the program. Any help please Thanks, Donald Not sure if I understand the problem, but try throwing in some code like below, at the point you want the 'window' updated: Me .Invalidate() ' or ControlNameWhatever.Invalidate Application.DoEvents() ...Show All
Visual C# Connect to database on another computer
Hello. I am making an application that is reading and editing database. I make a copy of the database while developing and woked on it. It was easy to connect and work with it. But I now need to connect to teh real database that is on another computer on our network. Connect wizard , as far as I can se only helps me to connct to lacal database file, not on the network. Could anyone help me here Can you please write some environment details. What DBMS you use, on client and on server. We can only gues what are you using. I can gues that you are using SQL Express and if so, you can't connect trough network on mdf file using sqlexpress. ...Show All
SQL Server Supress Blank Rows
How do I get a Report Table to supress blank rows from displaying In Crystal Reports this option is available under Format Detail Section, supress blank section chekckbox. Dear VDeepak, Thank you! Case:2 works. I could have sworn I'd read that "is System.DBNull.Value" is the way to check for null. thanks very much! ...Show All
.NET Development WMI question
I've got an app that uses WMI to start up an application on a remote computer. It works fine except that no GUI is displayed. For example, I use the InvokeMethod on a ManagementClass object I have, passing in "notepad.exe" as a parameter. It executes fine and when I look on the other computer, the notepad process is found in Task Manager, but no notepad GUI is displayed nor can I <alt> <tab> to it. Any ideas how I can get the GUI to display Thx in advance. todd I am logged in under the name that shows up in Task Manager for the started app. The code is roughly as follows: mgmtPath = new ManagementPath ( "Win32_Process" ); processMgmtClass = new Management ...Show All
