tkeller01's Q&A profile
Windows Forms hex display
HI everyone, i have a value that i want to show in hex. I use : textbox1.Text = "0x"+value.ToString("x"); I get the results right, but if the value is 0x06, it only shows me 0x6, is there a format that i can use to get 0x06 Thank you You can specify the length of the string you want after the "x", so if you want 5 chars i.e. 0000f, you could do: value.ToString("xxxxx"); Mark. ...Show All
Windows Forms cannot lauch application on other systems
Hello, I am quite new to Windows Forms programming. My problem is that I can't launch the Windows Forms applications I create with Visual Studio Express 2005 on other systems, where Visual Studio and the .NET framework are not installed. The error message I get (translated from german) is something like this: "cannot lauch the application, because the application configuration is not correct. Try reinstalling the application..." What am I doing wrong Do I have to link some libraries someway I am confused... would appreciate some help... ciao, Pascal Thank you Richard, I will have a look at it, but the application I am writing is for people with analog modems or ISDN, they would need almost 1 hou ...Show All
Visual C++ VS2005 runs vsvars32.bat automatically?
To use some VS2005 tools, you have to set paths, which can be done with vsvars32.bat. How can you set up VS2005 to run this batch file automatically every time VS2005 is started It is inconvenient to have to remember to go to a command prompt and run vsvars32. VoiceOfExperience wrote: 1) How can one get tools such as DumpBin and nMake to be startable from the tools menu, as opposed to a command prompt Add them through the Tools > External Tools dialog. VoiceOfExperience wrote: 2) How can one get vsvars32 to be run automatically when a shell is started, so you don't have to invoke it every time you get a command prompt window You can either add the lines from vs ...Show All
Visual Studio 2008 (Pre-release) PropertyGrid
Can anyone tell me if VS2007/Orcas plans to ship a PropertyGrid control Also, what is the status re: a DataGrid control. In fact(!) is there a planned list of controls for shipping somewhere ! ...Show All
Visual Studio Team System Deleted an administrative account from the Valid Users group !
I've uninstalled & installed the server again - but afterwards i need to remove the workspaces on client computers. When running tfs /workspaces /server:<sourceserv> /computer:* /owner:* i get an error on the client telling me to view the logs on the server; here's what the server displays: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 07.11.2006 13:25:09 Machine: <sourceserv> Application Domain: /LM/W3SVC/3/Root/VersionControl-6-128073766207849781 Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken ...Show All
Visual Studio Team System Unit Test Adapter threw exception:System.Configuration.ConfigurationErrorsException: The entry 'XXX' has already been added
Please can some explain what this error message means Unit Test Adapter threw exception: System.Configuration.ConfigurationErrorsException: The entry 'IMSWhiteLabel_Providers' has already been added. In my App.Config file, I have an entry for IMSWhiteLabel_Providers'. I initially thought that it is complaining because it has a duplicate of this entry, but this is not the case. Regards, Hiten Thanks for your response. The problem has resolved itself when I copied the orginal config file back. On comparison, I noticed that there was a WCF entry <system.serviceModel> twice. Cheers, Hiten ...Show All
Visual C++ Abstract class object
i hav read in all books dat we cant create object of abstract classes.. . and reasons like they are too abstract to create an object.. .. i want to know more of these reasons why we cant create objects...... . . . . manish Hi An abstract class is one that has atleast one pure virtual methods. Normally when an object of a class is created, the vtable is filled in with the address of the virtual methods, which is one of the reasons why an object for an abstract class cannot be created. Assuming that the related vtable entry is filled with null, this would cause a exception thrown at run-time, and that is not desirable. This is something related to the implementation. Theoritically, an abstrac ...Show All
Visual C# error CS0016
I'm trying to run the csc command on a server. One user works, but I can't get any other user to work. I've tried giving the other users admistrative rights, but still no luck. The user that does work logs in against the machine and not against the company domain. I can not find any other differences. Why can't any user run this The command is like csc.exe /target:library /out:D:\DEVTEST\cc_keys.dll /reference:D:\DEVTEST\library.dll cc\src\Class1.cs Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. error CS0016: Could not write to output 'd:\devtest\cc_keys.dll' -- 'The direct ...Show All
Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow
Has anyone else noticed that typing in Visual Studio 2005 is extremely slow Whey I type it seems that the screen is always 2 words behind where my hands are. It makes it extremely frustrating to get anything done. I'm mainly referring to C# code. It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. Basically, as far as I can tell by this entire discussion and my own experiences is that the c ...Show All
Visual Studio Express Editions Getting error
Hello, I am receiving an error by dimming: http://www.freewebs.com/tomthe1337/images/error_declare.jpg This is a screenshot of the error. My solution consist of 3 projects: 1) general = all my forms etc 2) dll = all my classes etc 3) MPlayer = my apart Media Player As you can see I am importing my dll(project) which contains all my classes etc, and then I dim <name> as dll.<name>, where it throws the problem. Should I just declare without dll. , or is it something else Anyone knows how to solve this Grtz, Tom. PS: Sorry for the bad explanation, but I just don't know how to explain this problem correct in English. It really depends on what happens when you create the new object. You'd have to show us the code ...Show All
Smart Device Development Pocket pc application using Access 2003
Hi there, this is my first ever post on a forum so please be nice if i get stuff wrong. I am wanting to develop an application for a Windows Mobile 5.0 device using visual studio 2005 but i want to store data on the device using pocket access. Can anyone tell me if this is possible or whether i am 'forced' to use SQLserver The reason i use the word "forced" is that all our software is written in vb6 and stores data using MS Access. The application i am wanting to develop needs to ultimately merge the data with the existing ms access databases. (There are only a limited number of people access these databases so i dont feel any need to upgrade to SQL just yet - If it aint broke dont fix it!!!!) I've found thread ...Show All
SQL Server How to backup a database over the network
Hi, I want to take backup of my database over a network drive, the network drive is on a box which is on different domain, Primary Server: IMM01 Database: DDR Domain: PNR User: PNR\bkpuser Backup Drive: BMM02 Shared Folder: \\BMM02\BackupFolder Domain: BNR Thanks, Imran. At the basic level, a process on your database machine needs to create and write to a file on your file-server. Until you have the permissions and identities set up so that it can do so, SQL is not even in the picture. Without an identity that the file server can verify, the connection is coming in from <anonymous>. Unless you want to allow any anonymous connection to create and modify files on your ...Show All
Visual Basic Sending Key to an other application
Hi all, I need to build a small application that sends predefined key stroke to an other application, lets say for example, Microsoft Words. I know that might be simple but I never had to do that so does anyone has any idea what function I need to use thanks for helping. Yeah I figured that out, but how do you get FindWindow() and SetForeGroundWindow() to work FindWindow() always returns "0", how can I get the class name of a window (Acrobat) or the title of the window Thanks again ...Show All
.NET Development How do I connect to MySQL from Visual Basic 2005?
Visual Basic 2005 With MySQL How do I connect to MySQL form Visual Basic 2005 Trying to add the data source Server Name: mysql User Name: root p/w: "this is blank Database Name: POS When I test it it says that it was successful but I can not find it to bind to my datagrid. I get the following information on the script: Invalid Data Specifier What am I doing wrong (I have VB 2005 Express. Can I connect to mySQL as well Here is what I did ) (1) I defined a DSN named "KMS" and tested it (it works with Access). I have some good news and bad news for you VWD is the only express edition that can connect to MySQL because it allows remote connections. And there is no ByteFX Connector fo ...Show All
Visual Studio Installing Crystal Reports XI release 2 for BOTH ASP.NET 1.1 and ASP.NET 2.0 on same server
Hi - We currently have a case where we are supporting multiple versions of our product on the same web server (a windows 2003 server). However, we have 2 versions of our application on the same server, but one is in ASP.nET 1.1 and the other is in ASP.nET 2.0. Our applications are fine and can co-exist ok on the server. They both use Crystal REports XI, Relesae 2, which supports both 1.1 and 2.0. Our developer machines run just fine wtih both products and crystal reports, but the problem we are having is deployment. When we install the runtime redistrubutale for ASP.nET 2.0 on the machine a file(CrystalReports11_5_NET_2005.msi) then our ASP.NET 2.0 application works fine. However, when we install the crystal runtime redistributable fr ...Show All
