StreetChariot's Q&A profile
Visual Basic Getting the Control under a Context Menu
Hi, I have a context menu attached to several controls on the same form. How can I determine on whitch one of these controls the user right-clicked to get the context menu and select an option I gess it can be done in the menu option click event handler, but I do not know how. Thanks Patrick My apologies, seems I may have pointed you in the wrong direction. I'm new to VB.Net and the menus I've created are ...Show All
Architecture Welcome to the Architecture Events Forum!
Welcome to the Architecture Events Forum. This forum is for discussing architecture-related events, conferences and seminars. This forum is moderated by several members of Microsoft's Architecture Strategy Team. We welcome all questions and comments related to architecture, although we recommend that product specific questions (for example, "I can't get x to install") are directed to more appropriate forums. ...Show All
Visual Basic Can u trace any flaw in this code ?
hi ppl.. can anyone trace what is wrong with this code..(in vb .net) i can't remember the windows generated form code..so plz ignore that.. plz see the actual code ,not the generated one.. 1)the function called returns true 2) err.lastdllerror = 0 but still the desktop wallpaper is not changed.. i have worked out this code in c++ and visual c++ n it runs perfectly.. but i want to do it in vb.net.. vb .net code---->> imports sy ...Show All
Visual C# Ampersand
Hi, I'm having trouble with an ampersand in my URI. I'm working in a winform with a webbrowser. This is my code: String test1 = "http://serv/reportserver /CUBE/CUBE02&rs:Command=Render&Budget=[Budget].[N Budget]."; String Testen = test1 + "%26[1]"; (%26 is the same as &) webBrowser1.Url = new Uri(Testen); When the browsers opens he converts the url to : http://serv/reportserver /CUBE/CUBE02&rs:Command=Re ...Show All
Visual Studio Team System Schema Validation of Notification Event Messages
Hi, I've created an webservice that subscribes to WorkItemChangedEvent - I want to validate that the message recieved is a valid WorkItemChangedEvent message - is an XSD Schema available Regards, /Howard On your application tier, can you take a look in C:\Program Files\Microsoft Team Foundation 2005\Web Services\Services\v1.0\Transforms\ I think you should see WorkItemChangedEvent.xsd in there. ...Show All
SQL Server Error messages upsizing from MSAccess database to SQLServer
I am trying to use SQLServer for the first time and I am trying to use the upsizing wizard on Access to get moved over to SQLServer. I am getting the following error messages: Connection failed: SQLState: '01000' SQL Server Error: 2 [Microsoft][ODBC SQL Server][Shared Memory]ConnectionOpen (Connect()). Connection failed: SQLState: '08001' SQLServer Error: 17 [Microsoft][ODBC SQL Server][Shared Memory]SQL Server does not e ...Show All
Windows Forms Invoke Property Editor
Ok This is a simple question I hope. I want to be able to invoke a controls property editor. For example in VS.Net you select the control then select font and it shows the font dialog box. I want to be able to invoke that controls fo ...Show All
Visual C# Creating instance of Generic type using parametised constructor
Hi, Why does the code below not work I've constrained the T type of the Bar class to be a "Foo" but I still get compiler error "Error 1 'T': cannot provide arguments when creating an instance of a variable type" (beta 2 - 8.0.50215.44). Since I've constrained T to be a class rather than interface, shouldn't I be able to use the Foo(int) constructor Is there another way of doing the same thing In my case, Foo is an algorithm (i.e a nume ...Show All
Visual Basic Update - Timer not working from modem event
I have a rather lengthy communications program that answers a call from a modem, communicates to another computer over serial and then sends back a response to the modem. I am having trouble with timers I have setup to trigger if the modem or serial ports don't respond within a relatively short period of time. If I run the serial communications sub routine (CreateMicrosTrans) from a form button click the timer works fine, if I run it from the mo ...Show All
Windows Forms .NET combobox and NULL values
I have a .NET combobox that is bound to a column that accepts dbNULL values in an ADO.NET DataTable. (This column is, in turn, related to a SQL Server 2000 database column that accepts NULL values).) I am having the following problems wit ...Show All
Smart Device Development 3D smart devises
I have this problem to solve, hope that you can help me: I have a building with a “control system”. The control system, depending of the temperature inside and outside the building, opens and closes windows automatically. I want to create a 3D model of the building that displays in real time the processing mode of the building (temperature inside and outside, windows that are open and closed, etc). For that I have to interconnect the ...Show All
Visual C# How to get system's informations
I want to design a simple application that show system's informations such as CPU's informations, RAM's informations and some thing like that. Can you instruct me how to do this. Thank you very much I find usefull informations for me. Thank dxfoo and Glenn Wilson very much ...Show All
Visual Studio Tools for Office Problem Visual Studio RC and Word.Application
I just installed the Visual Studio RC (Team server) and i need to work with Word.Application. I try to install Visual Studio Tools for the Office System (beta2) but it failed because need .NET Framework BETA 2 ... and i have .NET Framework 2 (installed with RC) Can i solve this problem PD: Sorry if my english is not very good. I'm from Spain. THANKS!!! You cannot use VSTO 2005 Beta 2 with VS RC. You'll ha ...Show All
Visual Studio left and top property of textobject
Hi everyone ! I am quite new at Crystal Reports for .NET and I desperatly needs help with moving and resizing controls such as textobjects at runtime. To be more clear : I have to write paragraphs with or without a picture at the left of the paragraph. So, i want the paragraph to take all the space it can take to have a good presentation. Hope i have been clear enough, thank you in advance, Guillaume select app ...Show All
Visual Studio Express Editions Question about variable decleration
This maybe is a stupid question. Sometimes I see variables declared like int _Counter; What is the _ stands for can someone give me an example why you have to declare it like that. Thank you. You can declare variable with any name . But you some times see variables declared like that because of naming convention . The _name usually used to represent static variables so that they can easily be ...Show All
