Tramel's Q&A profile
Windows Forms toolStripStatusLabel.Text doesn't update?
I am able to set the toolStripStatusLabel.Text before showing the Form, but after the Form is shown then changing the status is not possible. I do have tried Application.DoEvents() but didn't help. Am using .Net/VS2005/C#. This works: Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); gui = new GUIForm (); gui.StatusLabel = "Ready" ; Application .Run(gui); This doesn't works: Application .EnableVisualStyles(); Application .SetCompatibleTextRenderingDefault( false ); gui = new GUIForm (); Application .Run(gui); gui.StatusLabel = "Ready" ; Application .DoEven ...Show All
Visual Basic Rendering
What do you use to open up like a file (map for me) and then render something, do u use directx Depending on how do you plan to render your map; if it's just 2D bitmap, then GDI+ can do that already, and it's less complicated. -chris ...Show All
SQL Server Creating report based on parent-child dimension
Hi I have a problem to create a report based on a parent child-dimension When I go to reporting services, and I create a new report based on a cube, I drag my parent-child dimension to my data-layout. Then the dimension is immediatily ragged down. Anyone an idea to solve this. Does anyone have an example to create a report based on a parent-child dimensions Thx ...Show All
.NET Development tree view and recursive xml
Hi I am trying to do the following with a xslt page for xml output. I am not doing html rendering and I need all the elements to output. I get my information from SQL and read it into a dataset. The dataset conversion to xml is below. For my free treeview (.NET 1.1) control from Microsoft I need the xml to be nested and not flat. Could some assist in either the xslt for the transform 1) Have a flat DB Table that I read into XML. It comes out as <NODES> <NODE> <name>A</name> <id>1</id> &l ...Show All
Visual Studio Team System Saving Document
When trying to save a document back to Foundation Server for one of the project I don't get an option to save it back to Team Foundation, just the file system. Any Ideas Thanks BenW If you are talking about saving an attached document to a work item back to TFS then we do not provide this functionality in v1. As a workaround you can always delete the existing attachment and then upload the updated one back to the work item. If you are talking about something else, could you please explain what exactly you are trying to do Thanks ...Show All
Visual C++ Can symbols from an .exe file be imported into a DLL?
I would like to create an executable which uses multiple DLLs. I want to load the DLL's manually depending on execution. There is common code which resides in the .exe, which I would like to use in the DLLs. When I try and compile the DLLs I get unresolved symbol errors during the link. Is there a way for me to share the common code, residing in the .exe, with the DLLs Thanks. Omar Canon You could pass a function pointer to the DLL but that's kinda nasty. There shouldn't be a reason why this common code couldn't live a DLL, what kind of linker errors are you getting ...Show All
Visual Studio Express Editions ClickOnce Problems
I have a small windows test application that I'm attempting to deploy. I can deploy it to my hard drive, transfer it to a memory stick, and successfully install it on another computer. I can deploy it to a website, when the website opens and I click on Run or Install (depending on the type of deployment) a new webpage, myTestApp.application, is displayed. The page is an XML file. That is as far as the deployment goes! There are no error messages and no clues to help me solve this problem. Your suggestions would be greatly appreciated. Hi Grandpa - you skilled user...you. Could you have glossed over the problem I keep reading it a ...Show All
.NET Development Faulting application...faulting module kernel32.dll, Source - .NET Runtime 2.0 Error Reporting
I am getting following error once I double click on the executable of the custom application Faulting application km.exe, version 1.0.0.13965, stamp 4486cb6c, faulting module kernel32.dll, version 5.0.2195.6946, stamp 40d223b8, debug 0, fault address 0x0002bbf3. Km.exe is my custom WINFORM application executable. I believe the above is a common Error Message. It has been a very frustrating experience for last two days and today. Here are details of the application:- .Net 2.0 Application , Converted from 2003 using VS 2005. WINFORM Type Application. Project References Microsoft.VisualBasic System System.Data System.Data.Co ...Show All
Visual C# Output components in C#.NET
Hi, i am new in C#.NET and I am using Visual Studio 2005. I want to use a graphic component that show the output from an arithmetic operation with variables that I have created. Please, anybody tell me this. How do you mean, a graphical component How do you want to 'graphically' represent the result of 8*2 If you want to draw something like a chart, or a line of coconuts, or anything except text, then you need to do it to a Bitmap, and then display that. You'd create a control and it would intercept the Paint event, and draw whatever you wanted to draw there. If, on the other hand, you just want to output a number, I don't see why yo ...Show All
Visual C++ Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document."
I have recently install VS 2005 Pro and I cannot get breakpoints to work properly in my C++ Win32 application. After compiling for Debug and placing a breakpoint, when I run my program the breakpoint indicator becomes a hollow circle with an exclamation point and I see the above message when I hover over it. This makes no sense to me because I have verified the following: 1. Yes, I have compiled for Debug. 2. Output for my program indicates that "Symbols loaded". 3. I see the .pdb file in my \<project>\debug\ folder with the correct build date/time. Curiously, I have created other new projects under VS 2005 tha ...Show All
Windows Forms Aligning List View Item
Hi, How can I align a tiled backgroundimage with list view item. something like a chess board with each item in each box for a listview. Thank You Atheeque ...Show All
Visual Studio Error reading from file
Hello, I just now started using Visual Source safe. due to some problem VSS Server was down. so client machine started getting error: "Error reading from file". When we clicked on Help button it displays because of network connection failure it happened. so i restarted VSS. But still i am not able to view any files in Source safe. When i open VSS it displays same error: "Error reading from file". Can anyone tell why this happened Dhirendra. Rizwan (owangecounty), I think your problem may have been that your names.dat was corrupt or completely missing. "Analyze -f" probably did its best to recover the names, but may have failed. It's ...Show All
Visual C++ WinSXS - what's the right way to go ?
I have a C# winforms app, but it uses a C++ dll for some image processing stuff. As a result, it needs the C runtime dlls for VC8. I know I need to put the dlls and some other stuff in the WinSXS folders, I'm just wondering if there's any recommended way to do this, rather than just copy them out of my folder into the installer, and back in the same location If that's all I have to do, it seems messy to me. ...Show All
Visual Studio New Item wizards in VS 2005
Hi, I am trying to write a wizard to add new item to VS 2005. I followed the instructions in the Walkthrough: Creating a Wizard in Dev Tools & Languages > VS > IDE > Customizing and Automating the Development Environment > Automation and Extensibility for Visual Studio > Creating Add-ins and Wizards, but I keep getting an error "Invalid at the Top Level of the Document" whenever choosing the new item I just added. Are the instructions missing something Does it refer to an older version of VS How can I create a wizard to add new item to a project Thanks. would someone ...Show All
SQL Server INSERT and SELECT in one SP
I've used this Insert into MyTable (fname,lname)values (@fname, @lname); Select 0 as retval; but the SELECT in not working , how can i do both in one sp Thank you all Kob_Kob IF EXISTS ( SELECT * FROM MyTable WHERE ....... ) Select -1 as retval ELSE begin Insert into MyTable (fname,lname)values (@fname, @lname) Select 0 as retval <<<< HERE IS THE PROBLEM end after the INSERT the SE ...Show All
