vbdotnetguy's Q&A profile
Visual Basic VB first time install
I am a network administrator interested in program development. I installed VB 2005 Express Edition for the first time on a Win XP Pro SP2 Dell GX 260 Optiplex (1GB of RAM, 1.8 GHz processor). I log in and therefore install with admin rights. Upon writing a small program to view web pages, the IDE hangs when I start debugging to test the program. The vbexpress.exe CPU usage hits 99% and stays there. I have to use Task Manager to force the process to end. Has anyone else run across this on a first time installation of VB 2005 Express Edition I'll know more tonight. This is on my home PC, so I'll try that ...Show All
Windows Forms ClickOnce no longer recognize the certificate file used to sign the assemblies
Hi all, I just upgraded to the RTM and run into a problem with ClickOnce. It no longer recognize the certificate file used to sign the assemblies with previously (this worked prior to upgrading). The error message I got was " This certificate cannot be used for signing " I am having this exact same problem going from Beta 2 to Final. The certificate has been working for months with Beta 2 and is an Ascertia certificate, which I have seen recomended numerous times. I also think forcing people to sign their software is pretty ridiculous. Giving them the ability and opportunity to do it is one thi ...Show All
Smart Device Development Emulator is infact X86 for VS2003?
Could anyone confirm that the emulator in VS2003 isn't actually emulating an ARM processor, but infact emulating the PPC environment on an x86 This would mean if I am running platform specific code (dll) that I must have a specific version compiled for the emulator as well as for the ARM. What's the best way to handle deployment of these different versions at the time of DEBUG/BUIlD. Is there a technique to handle this Thanks. ...Show All
Windows Forms Generating dynamic columns on a designer generated DataGridView control
I'm using a windows form with a designer generated DataGridView (so it generated all it's code to layout the form). I need to support dynamic columns on the control (which is easy to do by selecting the columns you want in the columns property). My question is how do I get my code to come into play before the form is displayed and layed out In escense I want my code (attaching the columns) to be inserted in the middle of of the code that the designer generated. Thanks What do you mean by "dynamic columns" What code do you want to be inserted into the designer-generated code Can you post a sample ...Show All
Visual Basic How do I move menuitems around?
I could swear it worked by drag and drop a few days ago but now I can't get it do do anything thru drag and drop other than change the order. I have a Reports menuitems and I want to drag several other menuitems that are under the same menu down under the reports item. So just the list that it is on If I have a crystal reports top menu and a claims top menu I can't drag an item from one to the other Only up and down the items current list ...Show All
Visual Basic STRESSED! NEED HELP PART II
I aint normally this bad honest! lol. Thanx to Dman1 i have remembered how to link a button on one form to another form. However i want them to appear in the same space as the first form. For example now when i click btnNext on frmOne it does indeed link into frmTwo but the frmTwo comes up on a different part of the screen so you can see both frmOne and frmTwo. I want it so that when btnNext is clicked frmTwo comes in place of where frmOne is at that time. Please help! Private Sub BtnNext_Click ( ByVal sender As System .Object, ByVal e As System . EventArgs ) Handles BtnNex ...Show All
Visual Studio Custom coloring using MPF
The documentation mentions the following for creating custom colorable items: - Set RequestStockColors to 0 or leave it untouched (Left it untouched) - Define your own ColorableItems in the constructor of LanguageService - Override GetItemCount and GetColorableItem methods of LanguageService I followed the above steps and still the custom colorable items do not show up in Fonts and Colors property page on Options dialog box. I made sure that the names of the colorable items are different from the existing ones. I am using October RTM version of SDK. What else needs to be done Thanks in advance. ...Show All
Visual Studio Team System Code Coverage not worknig properly during a team build
Hello I have a problem with the team builds. In my proj file I have specified to build my solution, to run tests without specifying any test list. All my tests run correctly. I have a web site referencing four other DLLs. As I want to enable code coverage for my DLLs, I have edited the testrunconfig file to enable code coverage. So I select my four DLLs (in release mode) in the CodeCoverage tab of the editor. When I launch my builds, I see results only for two DLLs out of the 4. (Note that one of the 4 DLLs is empty so I can understant not to receive any result for it, but one missing has some code in it and some tests using it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3DERR_OUTOFVIDEOMEMORY
I am recieving D3DERR_OUTOFVIDEOMEMORY Error, after roughly an hour during the execution of my D3D Application. Any idea what i need to look for This is the code i use to create my veretexBuffer: vertexBuffer = new VertexBuffer(typeof(CustomVertex.TransformedColoredTextured),6, d3dDev,Usage.None,CustomVertex.TransformedColoredTextured.Format,Pool.Managed); I dispose it every time the scene is drawn... Thanks... Usually you will dispose vertex buffers and other objects when you are done with them. Disposing the vertex buffer each frame is probably not a good idea. If you want to refill your b ...Show All
Visual Studio Team System Serious problems with merging files
We have found serious problems with working on TFS source control with few branches. Many of changes occasionaly lost after merging files. I found exact description of this problem at http://blogs.conchango.com/jamesdawson/archive/2005/12/20/2518.aspx and it looks unbeliveable that TFS have so serious problem. Could be this situation solved in some way For us could be already helpful to switch off automatic merging completely (until fixing this bug) if it is possible. Could anybody help me Edit conflicts are thrown when edits are made in two places simultaneously -- your local workspace + the server ...Show All
Smart Device Development ScrollControlIntoView functionality not available in .NETCF v2
I have a PocketPC form with lots of controls and I want to be able to scroll a particular control into view if it has received the focus. There is a method in .NET framework v2.0 called ScrollControlIntoView which does what I want. Unfortunately, it is not available for the Compact Framework. Can anyone tell me what I need to do to implement the same functionality for my PocketPC project thanks ...Show All
.NET Development Retain the State of Page if Session Expires
Hiii, I am developing web application in .NET. If some how while filling any page the users session expires i am redirecting him to the login page..but that means he has to fill the complete details again for that particular page. I want when he clicks on Submit button of that page I will check the particular condition in header and if Session expires-a login page pop up should come where i will again ask for user name and password. After verifying that his particular data will be saved. Please help me how to do it. Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was ...Show All
Visual Basic System.IO.FileNotFound
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll This error occurs whenever I start my program - and it eventually crashes. No other error present (VBX is busy). Using F8, the error occurs instantly and stops in the DIM section at : Dim FBD As New FolderBrowserDialog This routine works fine locationg the directory... I also have present Imports System Imports System.IO THANKS Something similar started happening to me this weekend. I thought it was a coding error, being a newby... I even started rebuildi ...Show All
Visual Studio Visual Studio 2005 No Web Templates and cannot uninstall
I installed VS 2005 and everything was good until I updated my OS (windows xp pro sp2). When I go to create a new website I have no web templates. I googled the problem and tried reinstalling VS.net - no good. ran devenv /InstallVSTemplates - no good ran devenv /Setup - no good So I bit the bullet and tried to uninstall vs.net. NO GOOD!!! I get the error: Setup Is Unable to Determine a Valid Ordering for the Installation I tried to uninstall via the CD... no good! same error: Setup Is Unable to Determine a Valid Ordering for the Installation. I'm totally frustrated with this app. Someone please help me out h ...Show All
Visual C# Find/Replace
Hi to all I am trying to code Find/Replace with richTextBox. Can anyone help You might want to look into regular expressions provided in System.Text.RegularExpressions . ...Show All
