Adam Vanner's Q&A profile
Visual C# send text from form yo form
Hiya I understand that i have to user some dll`s in order to send data from my app in another Abyone knows whics is that dll That is not correct. But who could say You didn't describe your problem at all. Assuming I am understanding your English, I think that you are saying that you want to send data from one application to another application. Do you control both of these applications Are both of these applications .NET How m ...Show All
Windows Forms tab control issue
Get some trouble with tabcontrol I created serveral tabpages, each of them have a few controls, and has one "Save" button, once clicked, all tabpages will saved. I perform some validation on each tabpage. some, if a wrong input is detected, th ...Show All
Windows Forms type Q??
Hi all, i'm just starting programming in .net and got the folowing Question Somebody can explain why this is not valide Function Something(ByVal Expr As Object, ByVal somType As Type) As Type ...... ....... ........ Return CType(Expr, somType) End Fun ...Show All
Visual Basic MonthCalendar control question
I'm using VS 2005 beta 2 I want the MonthCalendar control to return the single day selected. I have MaxSelectionCount = 1. What I get back though is this: "SelectionRange: Start: 5/5/2005 12:00:00 AM, End: 5/5/2005 12:00:00 AM" How do I get the single day date Despite what the documenation says, the MonthCalendar control does not have the .SelectionStart nor the .SelectionEnd property. Thanks! The MonthCa ...Show All
Visual C++ How to change owner of a process or thread?
Hi, I have a Windows Service that run with SYSTEM user. When i create a new process in this process (using ShellExecute function) the new process got SYSTEM privilege too. I want it'll run as current user privilege. How can i done Any help Hieu I would try posting at the win32 newsgroups at http://msdn.microsoft.com/newsgroups/topic.aspx url=/MSDN-FILES/028/201/015/topic.xml where you might be able to find answers. Thanks, Aym ...Show All
.NET Development Reflection question
Hello How I can cast something using reflection Example: String typ = "TextBox"; (Reflection(typ))MyClass = (Reflection(typ))PointerClass.GetData(); MyClass should be a TextBox class with the Instance in the PointerClass.GetData() saved Data. In fact, I want the value of the string typ should be translated as code by compiling. Thanks Tony Hello Tony, Do you want to compile-time type checking fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Error in effect file
I am using c for my directx programming. I am getting some errors in my effects file. I know this because when I try to create effect from file I ge an error. I do not know how to find exactly what is wrong with the effects file. Is there a way to print out these messages or get a direct compilation message thanks for the tip. method 3 worked. below is a link to an example of how to set it up. http://www.garagegame ...Show All
Visual Studio Tools for Office Serious: Update multiples tables of Database through excel without TableAdapter
Hi All, As I have discussed earlier that I am not binding my list object into excelsheet through dataset/TableAdapter. I am using object option i.e. One class/function that I have created. I have done follwoing to bind my excelsheet through database without creating dataset through wizard. 1. Click on "Add New DataSource" into Datasource configuration wizard. 2. Choose the "Object" from the options. ...Show All
Windows Forms FileOk Event problem
My handler for the FileOk event of a dialogbox just won't work.My code for the handler goes like this : void saveFileDialog1_FileOk( Object^ sender, System::ComponentModel::CancelEventArgs^ e ) { label1->Text = "test" ; } label1 is a label on the form and i want to change its text property just to check if the handler works.The saveFileDialog control shows itself after a click on a menu button.And when i click ...Show All
SQL Server Preview in Report Designer works differently from Deployed Report. Urgent!!!
Hi all, I am creating a report for my company that is more of a brochure and hence a lot of formatting is required such as spliting a string placing it in multiple place holders. I managed to do this stuff with a custom .NET dll and thought my woes were kinda over when it worked fine in the preview window in the report designer.Unfortunately it does'nt work the same when deployed to th ...Show All
.NET Development .Net 2.0 Breaks .Net 1.1 TcpClient ReadTimeouts
I need to find a way to make the 2.0 TcpClient behave like the one in 1.1 I am doing the following: client.ReceiveTimeout = 5000; NetworkStream netStream = client.GetStream(); int byte = netStream.Read(); If the call to Read() fails, with a timeout, then I catch the exception - checking that the reason it failed was a timeout, and try the read again. On 1.1 The system waits 5 seconds, before getting a timeout again On 2.0 It ...Show All
Visual Basic Import from HTML table
I'm attempting to import a data update from a file that is a simple HTML table. <Table><TR><TD>REGISTRATION_UID</TD><TD>REGISTRATION_DATE</TD><TD>GENDER</TD> <TD>DOB</TD><TD>EMAIL</TD><TD>Prefix</TD><TD>FIRST_NAME</TD><TD>MIDDLE_NAME</TD> <TD>LAST_NAME</TD><TD>Suffix</TD><TD>LOCALITY_CODE</TD><TD&g ...Show All
Visual Studio Team System Visual Studio Team Foundation
Is it possible to use Visual Studio Team Foundation with VS 2003 Thanks for the response. Hope you be able to get that working with .NET Framework 1.1. Looking forward for this tool. ...Show All
Windows Forms Design a wizard
Hi all, I'm very new to C#, coming from VB.NET. I need to design a wizard inside my application (you know, a long image on the left, "back" and "next" button on the bottom and choosable options on the center). I was wondering... how is this achieved I mean, how to dispose stuff on the form Many thanks! There is EXCEPT.... It's only available as a WebControl. For WinForms (where such a control would be 10X easier to w ...Show All
Windows Forms Eyedropper issue
Im creating a eyedropper with a zoom-feature. When the eyedropper is activated a Form showing the zoomed version of the "current pixel" (the pixel at the tip of the cursor) and the surrounding pixels, will follow the cursor. My problem is that I dont want the Form to follow the cursor, I want the Form to replace the cursor. I have tried different things, but when i try it just starts to capture the colors shown on the form instead of ...Show All
