JLA_dk1's Q&A profile
Visual C++ How to transfer a bitmap into a icon?
Normally it is easier to find a bitmap than a icon.So please tell me how to transfer a bitmap into a icon. Thank you very much for your answer! At runtime or in the IDE In the IDE: Open the bitmap, copy to clipboard, open/create the icon, paste. At runtime: The easiest way. Load the bitmap into an image list (ImageList_Create) and call ImageList_GetIcon. ...Show All
Visual Studio Team System Internal Error! Failed to acquite a ReaderLock
Hi I get this error when trying to run a web test with around 50 iterations, Im using a access database for getting parts of some of the url's. Anyone know what this means Stack trace could help. If you click on the details tab of the playback ui, you will probably have a stack trace in the exception pane. ...Show All
Visual Studio Express Editions newbie vb.netexpress2005 "Patrice Pelland" lost p76 and more
Hi all, trying to get started. Item: Savefiledialog, openfile dialog p77 of book item 2 "click the little blue disc ..." on tool strip . I cant see it anyone got a screeen shot or other help P76 when I drag in savefiledialog thats what I get but book indicates this action should associate with menuStrip Toolstrip and Tool tip. Dragged those in too anyway Stiil cant "wire" from teh "little blue disc" Item: p85: Splash screen...item 2 browse to images and "books sample files" Can't see them: tried explorer cant find. Tried reinstall cant find. Advice on where they are stuck any h ...Show All
Visual Studio Express Editions File Read/Saving Question.
Is it possible to open a file and insert a string to the end of it without having to read the data then resave it all Yes My.Computer.Filesystem.WriteAllText(<FileName>,<Content>, <Append>) so My.Computer.Filesystem.WriteAllText("C:\test.txt", "xyz", True) will append xyz to the end of the contents of c:\test.txt ...Show All
SQL Server Is it possible to dynamically populate a parameter list with values based on another parameter value?
Is it possible to fill a parameter list with values based on another parameter value Here's what I have so far (which hasn't worked)... I'd like to generate a report listing information for a student. The report viewer would first select a school from the first drop-down menu, and then the second drop-down menu would populate with the list of students at that school. I have a dataset that calls a sp which returns a list of schools (SchoolID and SchoolName fields from the database table). I have another dataset that calls a sp (with SchoolID as the parameter) which returns a list of students for that school. Both datasets return th ...Show All
Windows Forms MSI: "Error writing to file: ******.dll. Verify that you have access to that directory. GAC problem?
Hi, I have a "Setup Project" in Visual Studio 2005 that generates an .msi installation file. My setup project references several merge modules. When I try to run the generated installation I get the following error message: "Error writing to file: general.dll. Verify that you have access to that directory." I think that the problem is related to the fact that I have two separate copies of my general.dll in my setup project. My application uses one version of general.dll, but my application also uses an assembly called mi.dll, that uses another version of general.dll. So for my application to work both versions of general.dll is incl ...Show All
Visual Studio Express Editions stacking text in a text box
hi in my form i have two text boxes, the first is where you enter the message and the second is where the message is displayed but i want it so when you send a new message it doesn't erase the las one out of the display box and stacks it oh well that explains it i was using TextBox2.Text = TextBox2.Text + TextBox1.Text, when i do it it puts the new message on the same line, how do i move it onto the next ...Show All
Smart Device Development CameraCaptureDialog Issues
I've been having some issues using the CameraCaptureDialog class on an HTC Apache device (rebranded as the UTstarcom 6700): 1. After exiting my application, the device's camera capture screen comes into focus. This happens whether I dispose of the class instance or not, and the Close() method is protected, so I can't call that. Any ideas on getting rid of this lingering capture screen 2. On a seemingly random, intermittent basis, an InvalidOperationException will be thrown from within the ShowDialog() method. Sometimes this will happen after taking 4 or 5 photos, but other times it will work fine for 40 or 50 photos before I give up trying ...Show All
Visual Studio Express Editions Fill image list with images from datasource
I'm a complete newbie in this side of things having happily developed applications in Access for quite a while - but feeling very lost at the moment. After an afternoon of searching to no avail I'm forced to resort to whining newbie mode for some help ..... Current assumptions are that both a datasource and an imagelist are basically the same as a recordset in Access. If I wanted to move data from one to the other I would loop through and transfer records (possibly based on search criteria), but I don't seem to be able to track down how to do this in VB. The major problem is that most of the references I can find relate to using the Poper ...Show All
SQL Server Problem to connect Access 2003 to SQL Server 2005 Express
Hello, after successfully connect Access to the Server I want to add a table. I got an error message: With this version of MS Office Access you are not able to make any drafts because this version of SQL server you are connected to does not support this. Check the MS Office update website for the newest downloads. You habe connected to a version of SQL server which is newer than SQL server 2000. Versions: SQL Server runs on a MS Server 2003 SP1 Access 2003 (11.6566.6568 SP2) on an MS XP Pro SP1 all on actual patch level. Any ideas what's wrong :-) Klaus ...Show All
Visual Studio ProxyGen tool on VS2005 STK Feb
Hi, I'm using the proxygen tool to generate a proxy for my host application. This is the first step to integrate with Visual Studio 2005 Tools for Applications. I'm executing the following command line: proxygen / i'm getting this errors: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'ProxyGen, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) File name: 'ProxyGen, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.SecurityException: ...Show All
Visual C# Fast way to Save DataSet to sql table in batch
I am new as C# programmer. Want to know if any fast way can insert dataset (10,000 records) back to sql table. I do not like the idea to insert back one row one command each time. Thanks. take a look at this thread ...Show All
Visual Studio Express Editions disable build logs
How can I disable the generation of build logs Right now I've set the path to the Recycle Bin. :) Is there a better way I am just curious why do you want to disable such generation of build logs Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions Express Beta without .NET?
Hi there. I made a couple of simple applications, one just a simple gui using the MFC and another made just from an empty project where I supplied all of the code without using any template. When I try to show it to someone else on their machine, it says they need the .NET 2 framework. The same code will execute just fine anywhere else when compiled with other compilers. I've been reading how to go about deploying a .NET frameworked app, but my question here and now is: Can I make an app with the C++ Express Beta 2 that is not dependent on the .Net framework I could understand if certain features require it, but what I made (even the non- ...Show All
Visual Studio Team System Install Issue: Unable to install TFS as SharePoint is not configured correctly..
hi all, Hope someone can point me right on this one. I have been trying to install TFS and have not had much luck. When I go to install the TFS from the setup.exe I choose to Install the server and then select a single machine install.. then I get the following in the pre-req screen that pops up: "Windows Sharepoint is not configured as recommended by Team Foundation Server" You have the option of Continue (which sends you back to the initial menu) or to exit setup. How do I find out what is not configured as recommended I can't see any logging anywhere and SharePoint seems to be working OK (http://localhost/default.aspx) on the machine ...Show All
