Gareth Welch's Q&A profile
Software Development for Windows Vista CallExternalMethodActivity - Sample for MethodInvoking?
Hello. I want to use the Handler MethodInvoking within a CallExternalMethodActivity but I don't know how to do it. Neither I didn't find an example in the Hands-On-Labs. Could anybody give me a hint how to use MethodInvoking A code sample would be appreciated. Thank you. Juergen Juergen, Double click the CallExternalMethodActivity and the event handler will be added for you. Al ...Show All
Visual Studio Express Editions how to add new line in messagebox
in vb.net, " &vbnewline& " is used to add a new line in the messagebox.show(); e.g. messagebox.show("this is first line" & vbnewline & "this is second line"); how to do it in c#.net plz help In C# (like most C derived languages), escape characters are used to denote special characters such as return and tab, and + is used in place of & for string concatenation. To make your code wo ...Show All
.NET Development Datareader to object relationship/mapping.
I can make a realationship between a query of a particular table to a particular object.. For example I have two table Customer and Order SAy For Customer table i can make a Customer class.(select * from cutomer) And can have one to one relationship between table(datareader) fields and object properties. SAy For Orders i can make a Order class.(select * from order) And can have one to one relationship between table(datareader) fields and object ...Show All
Visual Studio 2008 (Pre-release) SQL Like & In Operators | other errors
hi there I am missing the SQL LIKE and IN operators. Are those currently not available or did I not find them I expected something like var q = from t in something where t.somecolumn like "blah%" select t; and var q = from t in something where t.idcolumn in (myIDarray) select t; In the samples I saw a category " ...Show All
Visual C# SQL Literals
can some please fix this sqlstring = "INSERT INTO USERLOG(USERNAME , ENTERTIME ) VALUES('" UserName_TextBox.Text "','" userTime.TimeOfDay "')'" ; You need to tell us whats wrong with it before we can fix it. Just at a glance, though, you need to use the + operator to concatenate strings in C#. ...Show All
Visual Studio Express Editions need help
i build a program in vb express that can read a binary file in hex mode by inserting the hex location i need help to seek and hex and write after the hex i seeked or searched i need the code in vb express how can i build a search for hex in file and write hex using the fileput after the hex i searched Farah, Could we drop back to basics for a moment First of all in a very real way, the content of all files everywhere are in binary and I th ...Show All
.NET Development Problems converting an address string to IPAddress
Hello, I'm using the object IPAddress to get an IP address from a text box. If the octets in the string start with zero, I receive an exception. The code is the following: static void Main( string [] args) { try { string ipAddress = "192.168.106.58"; //work fine IPAddress xpto = IPAddress.Parse(ipAddress); ipAddress = "192.168.106.058"; //throw an exception "An invalid IP addr ...Show All
Windows Forms Newbie: Moving to ADO.NET
Here at the office, a bunch of us are just starting with VB.NET and we often discuss that our mindsets are stuck on VB6. I'd like your opinion(s) on this one: Some of my colleagues are suggesting that I create (and keep) DataAdapters for ...Show All
Visual C++ Beginner in C++ Need Help
Hi everyBody I'm in my first year in faculty of engineering I love programming and I begin with VB 6 but after I've reach 2 APIs I hate it and at this moment I was in my way 2 game programming ,So I transfer 2 C++ and I'm learning it From Books and Internet forums ( OOP by Robert & How 2 program & Teach urself C++ in 21 days) I learned Looping & Descision making & Functions & Structures & Classes & Pointer ...Show All
Visual Basic A Pause with a Loop
Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there s ...Show All
.NET Development Freaky socket problem - message goes to wrong socket?
Hi, I'm really starting to freak out with all the socket problems I had the last couple days. Here's another REALLY odd thing: I have a server and connect two clients to it. Now the server SHOULD send messages to both clients and according to the log this is what is does. However, SOMETIMES, not always instead of one message being sent to both client sockets, the message is being sent twice to one of the two sockets I never ...Show All
Software Development for Windows Vista Visual Studio Tools for windows workflow foundation
Hi, I am using the Office '12 ' release, as a Microsoft Office TAP member. During the installation I had to remove the previous version of the visual studio tools for WF, beta 2. That is becuase I had to replace it with the WinFX Runtime Components 3.0, beta 2. Now, after successfuly installing the Office 12, I want to re-install the VS 2005 tools for WF. I can't find a version that I can use. What I can find cannot be installed because ...Show All
Windows Forms Access database report
OK after previous postings I have found that I cannot use a Crystal Report without getting visual studio so does anyone know how to include a report from access since that is where I made the database ...Show All
Visual C# easy way to determine if string is one letter
Hey people. I need to know if there is an easy way to determine if a string is a letter (A - Z) or something else. cause my program is suposed to take different action if the string is one letter (A - Z) or something else. what is the easyes way to do this if (text.Length == 1 && char.IsLetter(text, 0)) { // text is one letter! } Vijaye ...Show All
Visual Studio Team System Problem with MSSCCI using VB6
Hi I am trying to use the "Add Project to Team Foundation" menu item from vb6. When i try to add the project, i get the error "Some files have not been named yet. Save your files manually to choose their names before proceeding with the Team Foundation operation." All of the files in the project have been saved and given (non default) names. Any ideas Thanks, rob Hello, ...Show All
