Sanchet's Q&A profile
Visual Studio Team System When WebTest Record IE and .NET Runtime Error jumped out
thanks , I want to ask a question that when I record my web projects at first time(new a webtest file) then I begin to record ,It's no problems,but next When I new an other webtest file to record always a IE error and .net Runtime fatal error(from System Event Log) jump out. On this situation I must reboot my computer to record only one time! How can I hold this problem .NET Runtime .NET Runtime version 2.0.50727.42 - fatal error (7A05E2B3) (80131506) NET Runtime 2.0 Error Reporting Faulting application iexplore.exe, version 6.0.2900.2180, stamp 41107b81, faulting module mscorwks.dll, version 2.0.50727.42, stamp 4333e7ec, ...Show All
Windows Forms How do I emulate a PostOpen event in a Windows Forms
I would like do to some processing to automatically fill a treeview after the form displays in a MDI application. I tried to use a timer event but had difficulties when multiple instances of the form were opened. What is the easiest way to do this. Thanks for your help. Unless you want to update the treeview all&nb ...Show All
Visual Basic RTF Location No2 - VB2005
Hi, I asked this Q a while ago and got a response. The question was that how to get the Column and Line location for a text editor. This code works perfectly, but it shows line and column 0,0. I would like it to start on Line, Column position no. 1,1. Dim Ln As Integer = Me . RichTextBox1 . GetLineFromCharIndex ( Me . RichTextBox1 . SelectionStart ) Dim Cn As Integer = ( Me . RichTextBox1 . SelectionStart ) - ( Me . RichTextBox1 . GetFirstCharIndexFromLine ( Ln )) Dim MyString As String = "Line: " & Ln . ToString & " Col: " & Cn . ToString Me . ToolStripStatusLabel1 . Text ...Show All
.NET Development Quick SQL question
I am trying to build manually the UPDATE, INSERT and DELETE strings of my OdbcDataAdapter because the ones generated by the OdbcCommandBuilder are not going to be adequate. I will still be starting from the generated strings and build on them. To understand better what they do, I need to interpret a specific SQL predicate, and I am having trouble with an expression within. The following SQL command is supposed to ensure that a row in a table is deleted only if the data hasn't been changed (in OBDC style, parameters are designated by question marks): DELETE FROM MyTable WHERE ( (ColumnIndex = ) AND ( ( =1 AND TextColumn IS NULL) OR (TextColum ...Show All
Windows Forms User controls with wrong namespace
When I am using the WinForms designer with a few user controls, I notice that each time I go into the design view, then try to compile my application, the .Designer.cs file can't can't compile because it can't seem to find the class. But when I remove the default namespace value from the namespace of the usercontrol, the class can then be found and the form will compile. Example... Project Default namespace as defined in proj file: OrderEntry Namespace of an offending user control: OrderEntry.frmMainUserControls.Customer .Designer.cs class definition: Works: this .customerOrders = new frmMainUserControls.Customer. Custom ...Show All
Visual Studio PLK
I requested a PLK and got one using an old package guid. I really need to have the PLK regenerated for my new package, but I cannot do that on the VSIP site. I tried copying the original guid over into the new package, but the Load key fails with "invalid key authentication" . What do I need to do to get this working i did and got a new key. i still get the failure in the key. i am using a managed package where the key is stored in the resx file. ...Show All
Windows Forms Datagridview cell customization problem
Hello All. I have one problem with customizing datagridview cells content. Supppose we have table with 3 fields: From, Subject, Date. I want to display these 3 db fields in one custom cell (I want to make it like in MS Outlook's "Inbox" where we have it formatted: "Subject" with big font, "From" and "Date" with smaller font). Also I'd like to use databinding to achieve these results. Is it possible (I looked at customized cells and columns but I did not find an example where 2 and more fields were incorporated into one cell) Thanks in advance Hello all. I've found the sample how ...Show All
Windows Forms TreeView XP style
I have managed to get XP Styles in my app (its taken a long time to figure it out) but now the treeview doesn't seem to look right. It starts off with a Win98 style scroll bar and once I resize it the scroll bar turns to XP style with the buttons (Left and Right) staying Win98 then when i resize again it all turns to  ...Show All
Visual Studio Team System Work Item tracking through web parts?
Hi, Is it possible to perform work item tracking through web parts in project website Could we use Microsoft share point service to make it possible to add requirements/bug through web client (w/o installing VS 2005 in client machine) Thanks, Saurabh it should be possible, all of the calls are available through Webservice Calls. However, there is currently a 3rd party tool in Beta that does this through the web already: http://www.devbiz.com/teamplain/ You could provide a link to its website in the portal instead. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Missing x86 MFC in PlatformSDK
oh lord, what's the deal with you guys ! all i'm trying to do is get basic joystick control working in my mfc app. it should not be this hard! i was happy in vc6 and it all worked nice until i wanted to access directinput for the joystick. first i have to upgrade to the vc8 express because the directx libs that you provided to work with vc6 have corrupt debug information. then i fuddle and search for hours trying to get my app migrated to vc8 and compiling -- only to find out that what used to be an open and free API (MFC) is now part of a ploy to get me to buy even more stuff from microsoft so basically if i never built my (now huge) ...Show All
Windows Forms Flicker and Crash problem in VS.NET 2005 Pro
I'm not sure if this is just me, but... Has anybody noticed an annoying problem in VS .NET 2K5 where you switch from code view to the Form Designer, and your mouse pointer starts flickering and changing among a few mouse pointers (ex. cross, hourglass, pointer, etc.) This has happened to me a few times already and I havent' found any other common denominator other than the switch from Code View to Form Designer. Thanks. Gerard mihail wrote: Hi Shawn. This is what happened when I attached and debug the new process. As an addtion I want to say tha the for is happening is containing a lot of dockable elements and w ...Show All
Visual Basic How to terminate a running dll from within the dll in VB. (VeryUrgent!)
Hi, can anyone help me and let me know how to terminate a dll from within the dll when an error occurs and return to the calling app. If it's a subroutine - Exit Sub If it's a function - Exit Function If it's a property - Exit Property. If you have resources which need disposing.. use the Using statement. ...Show All
SQL Server SQL Db and attachments
What kind of field type is used to store attachments as part of a record in SQL server database I am not sure what you mean by attachments. If you're talking about large binary values, you should consider using varbinary(max) which allows you store large binary values (up to 2GB). If they're smaller than 8kb, then you can use varbinary(8000). ...Show All
Windows Forms DAtagrid with checkbox
Is a datagrid from windows.forms capable to insert a checkbox like asp.net does anyone has an example ...thanks ...Show All
Smart Device Development How to soft reset device from eVC++ MFC application
Hi all.. I have an eVC++ MFC application(.exe) targeted for a winCE 5.0 x86 device In want to make my application soft reset my device on the click of a ok button. Can somebody tell me wht code i have to add in the OnOK() part of my app. Maybe these will help. Found them here What is the proper way to perform a device reset The method you use depends on whether you are running on a Windows Mobile 5.0–based device or a device running a previous version of Windows Mobile software. Windows Mobile 5.0 has standardized the API. Regardless of which device you are running on, never use KernelIoControl and IOCTL_H ...Show All
