b-li!'s Q&A profile
Visual Studio VS 6.0 Enterprise + VS 2005 coexisting?
Hello - ( VS = Visual Studio, VSS = Visual SourceSafe) We currently have VS 6.0 Enterprise edition with VSS 6.0 installed on our developer's PCs. We would like to retain this for legacy development. Can we do one of the following : 1 - Install VS 2005 Professional Edition on the same XP Win PC such that both are able to execute independently. The VS 2005 Pro would use VSS 6.0 to manage code (via the "Tools, Optio ...Show All
Windows Forms Using datagridview with two columns -> textbox and combobox columns
Hi all, i no undertand how i can use a datagrid to display a like master/detail structure of data of my access table that contain characteristics data. For example the access table have this structure: cod codcar desccaratter valcar CUF 1200 Profondita (mm) CUF 2810 Altezza (mm) CUF 3410 Larghezza (mm) CUF 5480 Peso (Kg) CUF 7170 Dolby ...Show All
Visual C++ "potentially uninitialized local variable"???
Hi! A program I've made has code similar to the following: int main(int argc, char** argv) { bool b; ClassForSomething* obj; (...) ; b = false; try { obj = new ClassForSomething(...); b = true; } catch(AnException* eFailed) &n ...Show All
Visual C# Creating Stored Procedures
Do i need the Query analyzer to create a strored procedure...I ony have the OleDb connection and i was wondering how to make a stored procedure using this connection with an access database a 'stored procedure' in Access is nothing more than a query that takes a parameter.... Dim MyCommandText as String = "Select * From MyTable Where (((MyFIeld)=[ ])); Dim MyConn as New OledbCOnnection(MyConnString) Dim MyCommand as New OleDbCommand(MyComm ...Show All
SQL Server How to reapply a trasaction log to a database?
Hi everybody, I'm in a very awfull situation. Because of a big crash in my MS Sql server, y loose the .mdf file of a database. I have an older .mdf file and the complete transaction log (.ldf file) before the crash. [Note: not a backup file, just the .ldf file]. As far as I know, no truncate has been performed since the date of the mdf file, therefore, all transaction shoud be "stored" inside the log file. Is there any way to re- ...Show All
Visual Studio I cannot add reference to Microsoft.sqlserver.smo.dll to VS2002 c#project
Error is: A reference to Microsoft.sqlserver.smo.dll could not be added ... this is not valid assembly or COM component As far as I have been able to determine this is due to not using VS 2005. You must have 2005...Any one have a hack I have this problem too but don't know when I'll get my company to provide the upgrade. ...Show All
SQL Server Error on attaching a database
When attaching a database that was detached from another SQL Server instance(copied raw .mdf and ldf files).. I got the error message below: Error 602: Could not find row in sysindexes for database ID 25, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes. how can i solve this problem. i am using SQL Server 2000 Thanks and Regards hi, Could you be more specific. How did you detached the you ...Show All
Visual C++ Cannot open file.
Hey, when I finished a MFC AppWizard program I created, but it will only run on my computer. I took the .exe from the /release/ folder and whenever someone tries to run it, the error message: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." This happens to anybody, even if they have the .NET Framework installed. Any suggestions would b ...Show All
Visual Basic Magnifying a section of picture box
I have a user who want to select a magnifying control, (could be anything, say radio button or button) Then when he clicks the point in the image that wants magnifying, the relative area surrounding the selected point is expanded to fill the picture box This is not a case where the image is enlarged and you have to negotiate to the point you are interested in so, if say you had a jpg with a composite of boxes with numbers in, of ...Show All
Software Development for Windows Vista State Machine Workflow
On a State Machine WF I would like to have a state where I execute a code block and move on to the next state. It seems that there are several ways of doing this. I can think of two ways: 1. Add a state. Insert an event into the state. In the event place a delay (zero delay). After the delay place a code block and finally a set state. 2. Add a state. Insert a state initialization. In the state initialization place a code block and final ...Show All
Visual Studio Express Editions Intellisense Does "See" all Forms Controls And Procedures
Hello All, I am having a bit of a problem here and I can't seem to figure out how to fix it. Hopefully someone out there will be able to shed some light on what is going on and how to fix the problem. I have a two project solution file. Project one is a Win Forms EXE and contains all the forms used by the application. Project two is a Class Library. The class modules are organized to form an Object Model. The model's layers, properties and ...Show All
Smart Device Development Webbrowser Control - .net cf 2.0
Hello, I’m having a problem with an application i’ve been developing with VS.NET 2005 beta 2 and currently being developed under VS.NET 2005 Professional Edition (both with Windows Mobile 5.0 SDK). Compact framework 2.0 seems to have some differences between its beta 2. Now, links ("<a>") on the webbrowser control don’t work anymore with my pocket pc 2003 device. I don’t even get the navigating event (it does work on emulator on windows mo ...Show All
Visual C++ 1 solution, 2 projects; help needed
hi, I have a working application (1 project) called Ogre and a working gui (also 1 project). I want to open my ogre application with the gui so I imported my ogre-project in my gui-solution so I have 1 solution with 2 projects: ogre-project & gui-project. I can compile the solution en when I run the application the gui appears. Now the problem: How do I access the ogre-project from the gui-project I have ...Show All
Windows Forms resize text of a label control or the text on a button control?
How do I resize text of a label control or the text on a button control as the form is resized I've tried setting AutoSize to true but the text doesn't resize with the control. I'm using Visual Studio 2005 C# Thanks, Paul Paul, Are you looking to make the form adjust to changes in font size If so, check out the Form.AutoScale property. Or do you want the font to change size as the form resizes. I ...Show All
Visual C# Unhandled error
I wrote in C# simple web browser with the following code for the Go button: webBrowser1.Navigate(new Uri(comboBox1.SelectedItem.ToString) With this code if I type an address that is not on the list of the comboBox or if the address would be for example: " www.aspireusa.net " I hit with the following error: "Object reference not set to an instant of object". And on the top of that box it says: NullReferenceExcepti ...Show All
