Jeroen Molenaar's Q&A profile
Smart Device Development Can't access any Windows Mobile 5.0 projects or emulator in VS2005 Beta 2
I'm probably doing something very stupid but I'd appreciate any assistance. I am trying to get up to speed on Windows Mobile 5.0 development and I have installed (in this order): Visual Studio 2005 Team Suite Beta 2 DMA Transport Update Windows Mobile 5.0 SDKs for Pocket PC and Smartphone When I try to create a new project, I only see Pocket PC 2003, Smartphone 2003 and Windows CE 5.0 but no reference to Windows Mobile 5.0 (or Magneto as I belie ...Show All
Smart Device Development setup certificate?
Hi, I am unsure where I am to post this so I apologize. Basically I have a project finished in .NET CF 2.0. I have created a cab file and an installer. This works great however I want to be able to sign the cab file (or something similar ) so that the publisher is known rather than unknown when you are installing it on the mobile device. How can I make this so that it is trusted Thanks! You'd need to sign CAB and everythi ...Show All
Visual Studio Overwhelmed
I am interested in learning VS2005. I have read the requirements for the machine to install on however, can someone tell where to look for server requirements Specifically what OS needs to be running on a web server to host VS2005 web sites. I am coming from an ASP/Windows 2000 server background and have put off the transition as long as possible. Any help in getting me started down the right path would be appreciated. I ask about the server b ...Show All
Visual C++ Please HElp With LPCWSTR
Hi.. Belive me when i say that i looked all over the internet for this and no clearifing result.. i try to use mciSendString function to play a file.. probem is that it has parameter LPCWSTR.. :(( .. i use WIN32 console application.. so i must read the path from the console.. CODE: int _tmain(int argc, _TCHAR* argv[]) { int error=0; wstring path; wchar_t* str2=L"play MediaFile"; error=mciSendString(path.c_str(),NULL, 0, NU ...Show All
SQL Server LIKE % question
Hello, I'm working on a project where I have a drop-down menu (collectionlist) of different words, which are part of a title which is located in my database. The bolded line is where I'm having my problems. I'm not sure how to place the LIKE statement. I will give you a quick example of what I would like to do: In the CollectionList, there is the word head. In my database, there is the title, head with earrings . I would like t ...Show All
SQL Server 'EncryptByPassPhrase' is not a recognized function name.
I am trying to run the following code in SQL Server 2005: DECLARE @cleartext NVARCHAR ( 100 ) DECLARE @encryptedstuff NVARCHAR ( 100 ) DECLARE @decryptedstuff NVARCHAR ( 100 ) SET @cleartext = 'XYZ' SET @encryptedstuff = EncryptByPassPhrase ( '12345' , @cleartext ) SELECT @encryptedstuff SET @decryptedstuff = DecryptByPassphrase ( '12345' , @encryptedstuff ) SELECT @decryptedstuff and am ...Show All
Windows Forms AutoScroll doesn't Paint until MouseUp?
If I set a Panel to AutoScroll = true, and then at run time drag the scroll bar slider up and down, the contents of the Panel don't actually refresh as I am dragging the slider, but instead only after I release the mouse button. This is NOT good. How can I get the Panel to Paint itself dynamically as I am moving the scroll bar slider Hi, you can override the OnScroll event or add an event handler to your ...Show All
SQL Server From DataSet To SqlDataReader in a CLR Stored Procedure
Hi all, I'm writing a CLR stored procedure that just execute a query using 2 parameters. SqlContext.Pipe.Send can send a SqlDataReader, but if I've got a DataSet How can I obtain a SqlDataReader from a DataSet Dim command As New SqlCommand(.......) ..... Dim ds As New DataSet() Dim adapter As New SqlDataAdapter(command) adapter.Fill(ds, "MyTable") ... 'manipulating the ds.Tables("MyTable") At this moment I have to s ...Show All
Smart Device Development How to Do C/C++ Development for WinCE 5.0?
How do I create a C/C++ project for our WinCE 5.0 device I don't see our SDK when I run the new project wizard. Dale Larson Johnson Controls, Inc Dale, Can you please share how you fixed this. I think I am having the same issue. WinCE 5.0 SDK's produced by Platfrom Builder are not showing in VS2005 as a platform to target. Thanks. -Jim. ...Show All
Visual C++ MFC DLL Exception in CStdioFile::Close()
If any of you MFC gurus have seen this problem and can explain it, I'd welcome your input: My Visual Studio C++ MFC DLL is throwing an exception sporadically when I call CStdioFile::Close(), which crashes the application using the DLL. The problem is intermittent. It does not occur for every call to CStdioFile::Close. It occurs rarely but frequently enough to cause a crash every several hours of application use (appro ...Show All
.NET Development VS2005 Server Explorer Doesn't show stored proc columns
In the server explorer for VS2003 it was possible toview the columns that a stored procedure returned along with its parameters. VS2005 server explorer only shows parameters, no columns. I've searched high and low fo a place to turn this on, if that can be done. What's up Anybody know how to view the columns. That's a real help when making sure column names in code match their stored proc names. Hi Thomas In Visual Studio 2005 we do not dis ...Show All
Visual Studio Express Editions No Beta v2 registration site
Hi, My DVD install of VS05 team dvd beta2 suddenly says it needs to be activated. When I click the MS activation site, I get a 401 ..can't find error. I could test an answer to your error, if I could get a registration number. Has Microsoft cancelled them The dvd has 'good for 365 days'. I'm having more or less the same probem: when clicking on "Register now" on the VWD Client opening ...Show All
Visual Studio 2008 (Pre-release) Display image from http-address
Hi all, i want to display a image from a http-address but when the image is not there the complete app cancels and shows a 404 Not found ecxeption. I have no chance to catch these exception, without cancelling the app. Is there a way to check for the image before Displaying it thanks, Herbert An idea could be to try to download the image, and if you are able to get it, that mean it's ok In th ...Show All
Visual Basic GDI Save Problem
I've been reading books and surfing the web for an answer to what, I thought, was a standard graphics problem I'm having...hopefully you can help. I need to obtain an image from a file (bmp), display it on a form (probably a picturebox), draw on it (g.drawline(), etc.), and then save the image as a different BMP. Here's a simple version of the code: Dim g as graphics = Me.CreateGraphics() ' get image Dim myImage as Image=Image.FromFile( ...Show All
Visual Studio Type of Document objects retrieved from DTE
I'm working on a guidance package for a DSL, and one of the recipies concerns code generation. I have associated the recipie with the appropriate ProjectItems and everything is working perfectly. I can get the ProjectItem, load the referenced file as a DSL model and continue into the code generation. Then it strikes me that most often the user is going to have the file open already, so I can avoid the overhead of loading the model by ...Show All
