5spot's Q&A profile
Visual C++ MaskedEditTest warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
Hi guys, I get this warning when compiling vs 6.0 projects in vs 2005. MaskedEditTest warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification How can I fix it. Thanks Nibu thomas. Yeah Thanks a lot. So simple and I was scratching my head for two days. ...Show All
SQL Server Error in SQL Server Management Studio Express when Attach DB
Hello When I try to attach a Database in SSMSEE, I always receive the same error. After clicking on the "ADD"-Button in the "Attach Databases"-Window, the following error occurs: TITLE: Locate Database Files - ORION\SQLEXPRESS ------------------------------ C:\Programme\Microsoft SQL Server\MSSQL.1\MSSQL\DATA Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists. If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box. OK - Butto ...Show All
SQL Server Adding a data connection in Visual Studio
Not sure if I should add this in this forum or in a VS forum, but here goes. I have a Visual Studio project setup using VB.Net 2005 RTM. I have a SQL2000 data connection set up and it is working. We have just added a SQL2000 database that is on the same server as a named instance. When I go to add the 2000 SQL data connection all I can see is the name of the Server and the 2005 databases. Both the SQL2005 and the SQL2000 are on a box cleverly called SERVER. In the "Add Connection" dialog box I enter Server as the server name and then when I click on the dropdown for the databases I just see th ...Show All
Visual C# Files on servers
Hi, Asume that an ASCII text file exists on a server, I know the path, for instance http://www...../file.txt and I have the Read access for this file. How have I to enter the path Thanks for your answers, Valentin WebClient client = new WebClient(); using (Stream responseStream = client.OpenRead( "http://www.mydomain.com/file.txt" )) using(StreamReader reader = new StreamReader( responseStream )) { string line; while( (line = reader.ReadLine()) != null ) { Console.WriteLine( "Line readed: " + line ); } Console.WriteLine( "End of response." ); } ...Show All
Visual Studio Express Editions Relating Two (or More) Combo Boxes
I am wondering if anyone can give an example or point me to some code samples of how I could relate two or more combo boxes together so that when you select a value for the first one, it gives you a set of related choices for the second one (which may give you related choices in a third one, etc...) The data which would be used to populate these combo boxes is in a relational MS Access database where what would go in each box is in its own table with a foreign key. Thanks for any tips and hints on this. For combo box 1, you would handle the selecteditemchanged event. Then in the code for this event, ...Show All
SQL Server SQL Server 2005 Express import of Access
I have installed SQL Server 2005 Express on a laptop for development purposes and would like to import some Access databases that I was using coupled to programs written in VB 6. If using SQL Server 2000 I could use the management studio to automate the import but I can not find any way to do this in Management Studio Express. Would have thought that this would be the typical migration route - Access to Server Express Is there some way to automate this procedure Thanks I don't think that feature is available with Express. http://www.m ...Show All
Windows Forms running windows timer control once in a day
Hi, I want windows forms timer control's ealpsed event fired once in a day, say at 6:15PM every day. How can I do this Thanks, Hi, Normally we set scheduled to execute application in the Scheduled Tasks, go to Start->Programs->Accessories->System Tools->Scheduled Tasks, then run the Add Scheduled Task and follow the wizard (there is a page in the wizard that allows you to set a time of execution, i.e., 6:15PM). To do this in your application, you have to set the Interval of your Timer control to 60000 (1 minute) and then check the time for every Timer_Tick event for "6:15PM". Hope this helps, -c ...Show All
Visual C++ VC 2005 RC with Loki small object allocator, std::lower_bound, and CompareFixedAllocatorSize
I am trying to use the Loki Small Object Allocator with VC 2005 RC v8.0.50727.26. In smallobj.cpp Loki has the following template function invocation: Pool::iterator i = std::lower_bound(pool_.begin(), pool_.end(), numBytes, CompareFixedAllocatorSize()); CompareFixedAllocatorSize is defined thus: namespace { // anoymous // See LWG DR #270 struct CompareFixedA ...Show All
Visual Basic Toolbar images
In the program I'm writing I’m using a toolbar control. Everything are working fine but I would like to change the image from the default image, but I can't find any other images in VB. Are there any other images included in Visual basic 2005 express edition and i there are where can I find them You should be able to find some in the various DLL and EXE files that come with VB... I have VS2005 Pro, so I don't know which files will be the same as yours, but I think VB will allow you to extract icons from those files. If not, there are plenty of utilities (many are free) that will do it. For instance, when you use a toolstrip, you ...Show All
SQL Server error of Initializing SQL Server Reconciler has failed using SQL Server CE 2.0
hi, i'm using SQL Server CE 2.0 in my application. When i try to synchronize my database by calling replicator.Synchronize(); errors : Initializing SQL Server Reconciler has failed. process could not connect to Distributor SQL Server does not exists and access denied. what i did right now is i try to register regsvr32 "C:\Program Files\Microsoft SQL Server CE 2.0\Server\sscerp20.dll" regsvr32 "C:\Labs\NorthwindTempFiles\sscesa20.dll" both of the DLL files were succeed register. However, when i try to re-do the synchronization. The same error still happened!!! I do not know what's going wrong..=( Who can help m ...Show All
.NET Development TCP packet confirmation
Anybody know how I can checks that my TCP/IP packet have been really received on the destination side and that is not standing in the buffer because of retries or bad connection Ronald You can't rely on TCP acks to tell you if the peer application has received your data. It simply isn't going to work reliably, and there are already too many unreliable network applications out there. Deal with the extra cost - it's a requirement of what you are looking to do. The only time you get to use a TCP event to synchronise application events is when you can get a good FIN-FIN exchange at closure of the TCP socket. ...Show All
Visual Studio Team System Web Testing - When used in Load Test, nothing written to System
Hi, Pretty beginner question, but unfortunitely I've run out of web-ex's to help me out. I am currently load testing a web site and have written a web test which retrieves data from the data source (10 rows) and inserts these rows into the web site. When run through Test Manager, this works and inserts records into the System. I have now included this test in a load test for 8 users, but I'm not quite sure how this is meant to add data to the site as nothing is actually written to the system. In addition I am having difficulty understanding how many requestes are made (as I can't see how many records are added to the system). Thu ...Show All
Software Development for Windows Vista State_Running at Frame 0
I have some problems with some Mpeg-2 files (using Elecard's Mpeg-2 Decoder Pack). I load a couple of Mpeg-2 files (>30;) and play them, each after another. This works great for the first 7 hours or something. After that time some of my files (I have located two) switches to State_Running but stays there and GetPositions reports that the current position is 0. I have checked that I set the Start and Stop values correctly, and everything seems to be as it should. What do you think would be the best way to solve the problem (whilst I'm consulting the Elecard Support). I do not want to reload the video if I can avoid it. Anyone that has seen ...Show All
Visual Studio Team System Help needed
hi all, I'm trying to write a custom rule which will check for pascal casing of the class name as well as other parameters. My problem is -- by convention, the names of types that extend certain base types or that implement certain interfaces/classes, or types derived from these types, have a suffix that is associated with the base type or interface. Example:- A type that extends System.Exception should be suffixed with 'Exception'. e.g.: DiskException. A class implementing the IComponent interface could be called Component or DefaultComponent. So how do i come up with a custom rule that can check which class is inheriti ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
