Madisn's Q&A profile
Visual C++ Visual C code to change parent process of new created process
Hi All, I have a problem while working in Visual C. I want to change the parent of a newly created process by my own code. E.g: " I am opening a notepad.exe by using CreateProcess API in Visual Basic 6.0 and another Visual C application is also runing that need to track the newly created process (notepad.exe) . The parent process of newly created process (notepad.exe) is visual basic application from which the notepad.exe in initiated. Wha ...Show All
Visual Studio Tools for Office Create Excel Project Problem
I am having trouble to create new Excel projects. I can create Word projects but not Excel projects. Products I have: VS 2005 VSTO Microsoft Office 2003 SP2 Installation sequence: Installed Office 2003 first Installed VS 2005 Installed VSTO. I checked another thread about almost the same problem but none of the solutions can be applied to my case. I installed all the programming components of Office 200 ...Show All
Windows Forms Does windows User Control have similar thing like readproperties?
I have developed a windows form user control just like vb6 activex control. In our vb6 version, the control use UserControl_Readproperties sub to read paramters from html page in <param> tag. Does windows User Control have similar thing like&nbs ...Show All
Windows Forms Minimizing to tray... have it working but have a problem
Ok when I minimize my app I capture the Resize Form event and hide my main form... this is good and all but it also fires when a user hits the Show Desktop button in the Quick Launch toolbar. I'd like it not to... is there anything I can do Much thanks! -Chad You cant prevent the event from firing. I was trying to find a better event you could use, but there doesnt appear to be one. However, I would think you could check the WindowState ...Show All
Windows Forms Tabbed MDI Manager control
Is Whidbey going to ship or give a sample for a Tabbed MDI Manager control It would be good if I could use a control from Microsoft for controlling my layout of child windows forms in a MDI application. Thanks I was under the impression that tabbed mdi would just be a part of mdi in .NET 2 Eg if you set up your app to use mdi then check tabbed mdi in a property window somewhere then you'd get tabbed mdi... ...Show All
SQL Server Set values to Variable, use SELECT or SET?
Hi all, I created a stored proc that has local variables declared in it. For these local variables, I use SET to set a value to that particular variable. When I look through other places and tutorials, I saw they use SELECT instead of SET. I tried using SELECT instead of SET and it works perfectly. Does anyone know the difference between both of them, when should I use SET and when shoud I use SELECT Thanks in advance. Daren ...Show All
Smart Device Development HELP! Basic Signature Capture on a PDA for a newbie
Hi, I've been thrust back into the world of development head first and I'm trying to get my head around vb.net 2005 as the last bit of dev I did was in VB6 nearly 3 years ago. I've been asked to put together an app that will allow a user to enter data on a PDA which will then store the information on an SQL database, but, of course, they require a signature field at the end. I've searched MSDN and the web for code and examples but most see ...Show All
SQL Server BUG? Extracting Data Stored in Multiple Languages
Hi, I have an access database that is storing text in english and chinese characters. I am importing the data using SSIS and it is putting a 'square' character in place of all the chinese characters. Can I associate multiple code pages to a control If this is not possible, I would just like to Extract the data and Load it into a table, and i will just handle the errors and write the key fields to an error log. The problem is that the error ha ...Show All
Visual Studio 2008 (Pre-release) Avalon Custom Components
Hi, I am having a lot of trouble creating a custom component for XAML. The component does not seem to work with XAML, it does not add itself to the toolbox, but it works fine for a Form Windows Project. I used component as the base class, and no I did not use any Windows.Forms controls on the component. Can any one tell me how you should create a custom component for XAML Seeing as creating a WinFX project you do have XAML components in the ...Show All
SQL Server Copy and past report, update links
I created a new report within my current ReportProject in VS 2005. I copied and pasted my tables, lables, etc. into this new report. I then recreated the same datasets as the other report except to name them different. All my fields though in my table object are still referencing Fields!. I think I need to change it to reference the new dataset name but having to go through the expression of every darn field to do so. How can I tell all my fi ...Show All
.NET Development __w64
I am trying to port an application from 32-bit to 64-bit windows environment. There are a lot of warnings like these when i compile my code on 64-bit :- mbtext.cxx(2249) : warning C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss of data mbtext.cxx(2354) : warning C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss of data This warning is at lot of places. "__w64" : Not much help is available to kno ...Show All
SQL Server DB Restored to New Server, ODBC Says Database is Not Valid
I'm setting up a replacement server for SQL 2000 and have restored a DB from old server to new server using backup/restore. All seems to work, DB listed in Enterprise Manager, I can see data. When I try to setup an ODBC connection on same server, however, the DB is not listed in drop-down list and if I enter the name, it responds with "the database entered is not valid". What is left to do ...Show All
Visual Studio Team System Automatic retrieval of latest version on checkout?
Hi, Since I could not get the latest version automatically with the old SourceSafe (VS 2003), I hoped this was 'solved' with Team System. However, when I tried to get this done, I could not manage it. The problem I have to deal with is that my colleagues and I work together on the same source (I think that is what has to be done with SourceSafe/TS ). Whenever we change something and check in our source, the new source has to be used. When I che ...Show All
Visual Basic when true isnt really true
A feature I think would be the best way to describe this... or at least it doesnt behave how I would expect... Try the following: debug.print(true) I would expect a boolean value of -1 to be returned.... true being defined in the VB docs as being a boolean value of -1 with false being a boolean value of 0. What I actually get is a string value of "True" Ah well.... How did I discover this Well I was pre-populating a check ...Show All
Windows Forms ClickOnce deployment
ClickOnce works great from the development computer. It is failing from a third (user) computer! the appliction uses a Web Service on the deploying server. The application is installed but when I try to run the application I get a message saying the "target machine actively refused it." "System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: NO connection could be made because ...Show All
