Software Development Network Logo
  • Windows Forms
  • Microsoft ISV
  • VS Team System
  • .NET Development
  • Smart Device
  • Visual C++
  • Visual J#
  • Visual FoxPro
  • Architecture
  • Windows Vista
  • SQL Server
  • Windows Live
  • Visual C#
  • Visual Studio
  • VS Express Editions

Software Development Network >> crash5232's Q&A profile

crash5232

Member List

Janmre
JayaK
sacrosancttayyar
mlinder
nebiecoder
Donald D. Drake
Sharron
OnTheFly
onlyconnect
Pankaj Gautam
Pham
SunHunter
MBritten
Jerry Liu
WWally
Do Hoang Ha
Frustrated_in_Boulder
odin88
Jughead1111
Wernerj
Only Title

crash5232's Q&A profile

  • Visual Studio Express Editions Disappearing data

    I am trying to get used to SQLServer having previously used both Access and MySQL. I downloaded August VB CTP and installed VB and the included SQLExpress. I can create databases, access eg Pubs and Northwind, and update these programmatically, but once I exit and restart the program my changes \ additions \ deletions are gone. If I edit the databases using the provided tools they stay edited, but through VB I can't change them. I have tried changing access methods, user, etc., but to no avail. Can anybody point me in the right direction Thanks The problem/opportunity is the following.  When you hit F5, Visual Studio copies the MDF ...Show All

  • .NET Development XmlException: "Name cannot begin with the '.' character"

    Hello, My application loads XML file and updates its content. The steps are: 1. XmlDocument m_doc = new XmlDocument(); 2. m_doc.Load("c:\\inetpub\\wwwroot\\folder\\data.config"); 3. making updates to the file attributes 4. XmlTextWriter wrtr = new XmlTextWriter(filePath, Encoding.Unicode); 5. this.m_doc.WriteTo(wrtr); 6. wrtr.Flush(); 7. wrtr.Close(); After performing these stemps once, and trying to load again the file (step 1), I get the following exception: XmlException Name cannot begin with the '.' character, hexadecimal value 0x00. even though I am able to open the file manually. Any suggestions what to do ...Show All

  • Windows Forms Updating Listbox Items

    Short and Simple: How do I do this   ;)  Nope. my own stupid fault. No problem. Works fine. It's not that. That text works fine. Here's my form. Listbox looks like this:     Me.ListBox1.Items.AddRange(New Object() {"Mike", "< xml version=""1.0"" encoding=""utf-8""  >", "Ken ", _      "P"&q ...Show All

  • Visual Studio Team System Test Project Settings

    Hi, Can any one tell how to set a Test project as a dependecy of an another Application.The situation i am in as follows: I have a Windows application and i have added a Test Project to that.The Test project is created automatically when i hit "create unit test " on a function in my application. Now i want to make that Test project as a dependency of my Application.I mean to say that first of all the test method should run and if it passed(For all) then it should run my main application(Windows App).But when i try set test project as a Project dependency of main application it is giving a messege like "Thsi dependenc ...Show All

  • Visual Basic Emergency need of a script

    My company has recently decided to change their ip scheme completely. Normally this wouldn't be too bad for a desktop tech, however, our initial policy was to set every user up with a local tcp/ip based printer. We are now configuring all of our printers on a print server, but for the 100's (and I mean 100's) of users that have locally configured tcp/ip printers this ip changeover is going to be a support nightmare. I've seen many scripts to add/delete printers with a .vbs file, but here's my problem. I need a script that will read a specified host machine and find it's locally configured tcp/ip printers. Then take that information and co ...Show All

  • Visual Studio Express Editions Another way than WH_CALLWNDPROC

    If I'm using a VC++ DLL to create a tray icon for an external application, not my own nor connected to my DLL. Is there any other way to detect mouse clicks on that tray icon other than a global hook for WH_CALLWNDPROC I've read that a global WH_CALLWNDPROC hook can be a serious drain on system resources so if at all possible I'd prefer not to use it. If it's the only way to catch the messages I want under these circumstances then I'll do it, but is there another way W That would work if I were adding tray icons for only one app, but this is a tray minimizer app. So.... ...Show All

  • SQL Server Poison Messages - 5 times's a charm

    Hello again, I have some poison message detection in place, based on the BOL sample. My problem is that after the 5th message retry my queue goes down - that is the fifth retry on any message. In actuallity, the first message is retried 3 times and it is taken off the queue [for real], the second message comes in and on the second retry - pooof - the queue is down. I though the poison mechanism should work on a per message basis. It there a setting for the queue I missed Is my only chance for to fix this: re-enable the queue upon BROKER_QUEUE_DISABLED event notification Thanks, Lubomir The poison message counter is based on&nb ...Show All

  • Visual Basic defualt browser

    How do you get windows to reconize my program as a browser and be able to set is as the defualt browser See this MSDN document for all the details on registering your program with 'Set Program Access and Defaults' -- as you'll see, creating some Registry keys and values is all that is required. '//mdb   ...Show All

  • .NET Development appSettings, where do they save?

    I have a windows forms application. (Visual Studio 2005) A simple form with a button on it. Here is the code private void btnTestButton_Click(object sender, EventArgs e) { ConfigurationManager.AppSettings["TestSetting"] = "TestValue"; string res = ConfigurationManager.AppSettings["TestSetting"]; MessageBox.Show(res); } I step through the program in debugging mode. The MessageBox shows "TestValue" as it should. This proves that the application setting was saved, somewhere. I keep the program running. I search my hard drive for all files named *config*, modified within ...Show All

  • SQL Server Re-Create All Indexes in database

    First, I'd like some help stablishing if it's a good idea or not what I'm thinking, and second is what would be the easyist way to achive the result. Background. We have a multicompany ERP system (200GB, 200+ tables). All data tables have a companyid, counter1id, counter2id, fields. Each table has a primary clusterd index on these fields in that order. And also has multiple other indexes that usually include companyid filed first. ( Note we have 10 companies, ids are 1..10, companies 2 and 5 are the most active, inserts, selects ). MY GUESS IS THAT THIS IS VERY BAD HAVING COMPANYID FIRST. AM I CORRECT LEADS TO AL LOT OF FRAGMENTATION VERY ...Show All

  • Visual C++ Runtime Library error messageWinword.exe

    When I open some Word files, an error message pops up saying: "Buffer overrun detected! Program:...am Files\Microsoft office\Office11\Winword.exe A Buffer overrun has been detected which has corrupted the program’s internal state. The program cannot safely continue execution and must now be terminated. " There is no error report window when the program shut down. There is no time to save the file. I have tried to copy the file, change name, etc.Didn’t work... Would, please, someone HELP ME!!!!!!!! Those word docs may contain viruses Your Word installation may be corrupt Th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectInput keyboard keys get stuck

    I've been using the following two methods to collect and poll keyboard:         public void ProcessInput() // called on each frame render         {             Key[] temp = _device.GetPressedKeys(); // _device is DirectInput.Device             Key[] keys = new Key[temp.Length];             for( int i = 0; i < keys.Length; i++ )             &n ...Show All

  • SQL Server Data Comparison Question

    I am not sure if this is the correct forum for my question but I will give it a shot. I want to be able to create a dataset from an ODBC datasource and compare it to existing data in my SQL DB. If there are changes (inserts/updates/deletes) I want to raise seperate events for each row state. Is this possible to do with SSIS/DTS or am I on the wrong track with what I am trying to do Have a look at this and see if its any help: http://www.sqlis.com/default.aspx 311 -Jamie ...Show All

  • .NET Development Err.Raise in EnterpriseServices Component

    Here is the situation. I have custom err.raise statement Err.Raise(vbObjectError+9000, src, desc) in an ES component. And when the client tries to trap the error, the error number that is returned is always 5, but I can get src and desc values. Is there any known problem with errors raised from ES component Thanks. ramesh nd. I'd saied that not would but u MUST throw exceptions. .NET is type-based system, we should forgot about code errors at all. I recomend author to read this article about Exception Management http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/exceptdotnet.as ...Show All

  • Smart Device Development capturing web form values in WebBrowser class .net compact 2.0

    I realize that .net 2.0 compact framework does not support the Document property in the WebBrowser class, which is the straightforward way to, say, detect whether a checkbox in a web from is checked.  I've tried what was suggested in http://msdn2.microsoft.com/en-us/library/ms229657 ; however, it doesn't work as advertised.  Even when I used the exact code snippets as shown, the Url property of the WebBrowserNavigatingEventArgs was null and did not contain the form values as one would expect from a GET.  Am I just out of luck, or is there a workaround For example, I have webbrowser1.DocumentText="<html><body>< ...Show All

©2008 Software Development Network