moriarty's Q&A profile
Microsoft ISV Community Center Forums How to get ASCII code of the character? Weird Eh>
Hi! How to get ASCII code of the character Say: strA = chr(87) 'returns "W" Is there any function that would get 'strA" and return its ASCII I thing you are looking for Asc() MyNumber = Asc("A") ' Returns 65. ...Show All
Windows Forms add a picture to window
Hi, I have a question about displaying a picture(gif,jpg or bmp) on a window. I managed to declare a picture in a resource file and display it. but I want to decide the name of the picture that I want to display at run time. Can you&n ...Show All
Visual C++ Project Build Error PRJ0003 "error spawning cl.exe"
Help! None of my projects will start. I keep getting the same build error. I have already added the directory that houses cl.exe to the VC++ executable directory and now it gives me a dialog box that states "These project configurations are out of date. Would you like to build them " Upon clicking yes, it states "There were build errors, continue Upon clicking yes, it states "Unable to start debugging. Unable to f ...Show All
Windows Forms Windows Forms autotab
In Windows Forms is there an autotab capability It existed in MFC where when typing into an Edit control (textBox), once the max number of characters for the control was exceeded, the focus went to the next control and the characters were&nb ...Show All
SQL Server calculate maximum value of childrecords in a trigger?
I have a parent record en some child records. Let's say the child records have a field with a value in the range 1-9 Now I want to find the maximum value in the child records. When I have that value, I want to write this value in a field in the parent record. 1) Should I do this in a (update) trigger 2) How do you write such a trigger in sql-express thanks Klaas Netherlands something like: CREATE T ...Show All
SQL Server Using Reporting Services 2005 on SQL Server 2000?
Is it possible to use Reporting Services 2005 on licenced SQL Server 2000 without a licence of SQL Server 2005 Thanks for your answer, Andreas Q: 1 SQL Server 2000 licence, SQL Server 2000 + Reporting Services 2005 on the same machine. Legal A: No : 1 SQL Server 2005 licence, SQL Server 2000 + Reporting Services 2005 on the same machine. Legal A: Yes. ...Show All
Visual FoxPro Info Combining on Page 2.
Ok this may be a silly question but I can't seem to figure this out. When adding info to Page 1 that works fine but when I click Page 2 tab, it shows me the same info that is on Page 1. How do I add different info to the preceeding pages so that when I click on the tab it reflects it Thanks! See responses in your other thread on this subject (it is better to keep one thread together as long as ...Show All
Visual Studio Team System Classes that consist entirely of static methods should end in “Util”
Hi, How to identify class that consists only of static methods I tried the following, public override ProblemCollection Check(Member member) { TypeNode type = member as TypeNode; if(type is Class) { Method method = member as Method; MemberList memberlist = type.Members; MethodList methodlist = RuleUtilities.GetMethods(type.Name.Name,memberlist); int staticCount=0; if (method == null) ...Show All
Visual C# String & StringBuilder || sizeof () & Marshal.Sizeof ()
If you know,please tell me : _ performance of String & StringBuilder _ Different between sizeof () & Marshal.Sizeof () Vu, Thanks. To clarify the difference between sizeof() and Marshal.SizeOf: sizeof() tells you the size of a managed object. Marshal.SizeOf tells you the size of the object when it's marshaled to unmanaged code. Generally, in your code you'll want to use the ...Show All
SQL Server XML Tools in VS 2005
This Channel 9 presentation [1] was not a very good side-by-side tutorial that can be used to follow along while using VS 2005 but it was a good start and very good insight into what is now possible when using the VS 2005 XML Tools that have first showed up in Beta 2. Hopefully we'll start seeing this type of information available for SQL Server 2005 and more importantly how to use VS 2005 with SQL Server 2005 when developing proj ...Show All
Visual Studio Team System tfsbuild parameter "serverurl" not working when the current user never selected any friendly name for a tfs
Hi, I am just trying to create a scheduled build. The scheduled command is running on the build machine itself. This has just the bare necessities installed to run a build (Team Test and the Build service afik). Anyway the user that runs the command has never selected a TFS from any UI and so not friendly names entry exists in HKCU. No problemo, I thougt, and provided the full server url instead of a friendly name. What I got was this: c: ...Show All
.NET Development WSE 2.0 - Forcing WSE Token Autentication
Is there a way to force all webservices in a project to require WSE authentication (authenticating the UsernameToken). I am implementing UsernameToken auth over about 20 different WebServices and do want to have to put the "Does UsernameToken exist" in each webservice method. I've done some testing and if I create my web service proxy using xxx.Service1() instead of xxx.Service1Wse() I am still able to consume the "protected"web services. ...Show All
Visual C# Install a windows service via user interface?
Does anyone know how I can have a windows service installed/removed whenever a user clicks one of the items in a file menu use similar code at least this could give you good direction bool bInstall = true; //get windows folder string windir = Environment.GetEnvironmentVariable("windir"); string path; //for .NET Framework 1.1 path = System.IO.Path.Co ...Show All
.NET Development peer-to-peer connection
hi i want a example that shows peer-to-peer connection As Durga notes, please detail the functionality you are looking for. We are currently considering adding further P2P support to System.Net - I am interested to hear about your scenario. ...Show All
Visual Studio Express Editions How to use UTF-8 above 128!
Hi all, My program needs a 3 byte output. I've managed to convert 2 of the Integers into UTF-8 format. But one of the Integers is 255, this is a constant not a variable amount. But it outputs 2 Bytes and not 1 as I need. So is there any way to convert 255 into a UTF-8 format Thanks for any help or advice. Use bytes. They are unsigned entities and can express 11111111 (binary) which is 255. Signed datatypes such as integers ...Show All
