Rakesh_24's Q&A profile
Visual Basic Try...Catch statement Question
I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will kn ...Show All
Visual Basic Bug in For .. Next with Single data type
Try the following simple code, by stepping through: Dim S As Single, T As Single For S = 16777214 To 16777218 T = S - 16777214 Next S Once S reaches 16'777'216 (hex FFFFFF) it will stop incrementing in the for..next loop, consequently T will remain at 2 I have the following System: Windows XP Professional, Version 2002, Service Pack 1, CPU is Pentium 4 CPU 2.4 GHz, CPU-Driver Microsoft processr.sys Ver ...Show All
Windows Forms ComponentChanged is raised DURING resize of a control in a custom forms designer (with framework 2.0)
Hi all, Since I'm new here, let me introduce myself. I'm Tim and I'm working on a custom forms designer based on framework 2.0. So far the new framework has been making this project a lot easier than if I still had to use 1.1, but now I ran into some weird behavior. Not that it is lethal to my application, but I thought let's just discuss it here and if we all agree it must be a bug report it with MS. On my main form I'm hosting a Desig ...Show All
Smart Device Development NotSupportedException in PInvoke for .NetCF C# project
I have a dll in C++ with a function called fun1: typedef void (WINAPI *fp)(); typedef struct info { DWORD size; RECT rc; fp funPtrcb; }*info; _declspec(dllexport)DWORD WINAPI _cdecl fun1(IN info pinfo); My C# application has this code: public delegate void CB(); public struct Init { public UInt32 size; public RECT rc; public CB funptr; } [DllImport("xxx.dll")] public st ...Show All
Software Development for Windows Vista ASP.NET need to shutdown runtime.. WHY? BUG?
I am finding that if I do not shutdown the runtime (last line of sub) then the workflow I am calling does not execute again. I do not want to have to incur the performance cost to start the runtime again, but have not found a way around this. Any ideas Private Sub StartWorkflow() ' Set up the parameters Dim parameters As Dictionary( Of String , Object ) = New Dictionary( Of String , Object )() parameters.Ad ...Show All
Visual Studio Team System Traceability after merge - What was the source branch?
Hi, I would like to know how can I know after a merge what was the source of the merge. Suppose I merge from one branch to another . After the merge action I only have a new changeset at the target branch, from that changeset I can not know what was the source of the merge. Thanks Yaarit The best answer I have for v1 is to write helpful changeset notes when you check in a merge. Comments & ch ...Show All
Smart Device Development unresolved external symbol wWinMain referenced in function wWinMainCRTStartup
Hi. I used the included wizard with VS2005 to update my EVC++ 3.0 created project. After sifting through other migration issues I ended up with the error given in the title: unresolved external symbol wWinMain referenced in function wWinMainCRTStartup Ick. I looked at another forum entry, but it did not seem to help. It just created more problems. What do I do to resolve this Keith What does the w i ...Show All
Software Development for Windows Vista virtual folder and keyword problems on Vista CTP
I'm using a Power-User account "TestUser" on Vista CTP (from the PDC distribution). I have created 2 text files in the TestUser->Documents folder, and assigned each a keyword "vista". When I type "vista" in the explorer search box and do a "Search the Computer", I see the two files. However, when I click "Organize->Save as Virtual Folder", then try to browse the resulting virtual folder, I see every file on the system. D ...Show All
Visual Studio Registering Visual Studio.net 2003
I just installed VS2003 Academic Version and when I clicked on the link to register my software I got the following message on the MS web site: We're Sorry...The page you are looking for no longer exists or may have been moved. I can't seem to find a registration page on the web site. Anyone know where it is Surely one must still be able to register this version since it's still being sold! Sacblonde I am ...Show All
Visual Studio Express Editions 64 bit Compile for web application at Visual Studio Web Developer Express 2005
Hi, How can I compile a managed web application at 64 bit. Is there any adjustment or configuration at Visual Studio Express Web Developer Edition or does it directly compile at 64 bit. I need urgent help please Best Wishes, Well, now I'm just guessing, but I'd say yes, since I saw different performance statistics for the various combinations of optimisation and platform. So the code would be optimised f ...Show All
SQL Server search char in String
Hi Is there any function to seperate a sting (VARCHAR) into two based on a character in the string (e.g. '-'). In short is there "InStr" or "split" type function in T-SQL If not what is the alternative I have a column called "Range" (VarChar) in the table which has ranges like 1-14 or 15-49 etc. I need to select records by compare a variable (numeric) against these ranges. So for instace if the variable has 15 its in range ...Show All
Windows Forms Databound Combobox Problems
VS 2005 allows us to drag a table (Detailed View) from the Data Sources window to automatically create an form that has databound controls, Binding Navigator, Binding Source, etc. I have a Contacts table and a Categories table. Categories is the Parent (One) table. Contacts is the Child (Many) table. Categories (<CategoryID>, Name) Contacts (<ContactID>, <CategoryID>FK, Name) CategoryID and ContactID are int Identity not null f ...Show All
SQL Server Incorrect Positioning?
Hi, I have created a couple of reports with a header that contains an embedded image and a textbox just to the right of the image, vertically aligned. So far so good but when i deploy the report it doesn't show exactly as in the preview... Instead the textbox seems to goto another column Yes it seems that some how a new column is created and the textbox is the only thing to be in it... Anyone experiencing this What can be causing this & ...Show All
Visual Studio Express Editions Need some help with class
ok here goes I am trying to use a class to get an int from another class as one of the class is remade due to it being used on a using Multiple Forms. been trying to work this out for a good 3-4 days and looked all around the internet for help but i have given up i just can not work this out my self therefore this post, any help would be great. here is the code: Form1.h MDI main form [CODE]#pragma once #include "Settings.h" #include "plane ...Show All
Windows Forms Getting Assembly Path from within a UITypeEditor
I have a property in a usercontrol that contains a combination of a user defined form class and the assembly it is contained in. It is formatted like: "MyNamespace.MyForm, MyAssembly". What I am trying to do is _reliably_ get the path to ...Show All
