intelligentidiot's Q&A profile
Windows Forms Recieving an Open File request from Windows
I have an application that I'm developing that uses a custom file format for storing users files in and I'm wondering how to set my application up so that when a user opens a file of this type the application runs and opens the file. ...Show All
Visual Studio Team System TFS says KB913393 is not installed when it is
Hi, I am trying to install TFS on a single server running Windows 2003 R2. Setup reports that ASP.NET 2.0 QFE KB913393 needs to be installed. However, I have now installed KB913393 several times and it doesn't appear to make any difference. When I run the KB913393 setup I see a message asking if I want to install the Hotfix. I then see a Licence Agreement screen followed by a progress bar as something is installed. However, I don't see any ...Show All
SQL Server Can i access SQL Login Users in ASP.Net application
Hello All, I have SQL Server 2005 Installed and i have numbers of SQL Logins users which i want to use in my ASP.Net Application for authentication. I am using ASP.Net 2.0 (VS.Net 2005). Can i use the SQL Logins for ASP.Net web application authentication like the way we use Active Directory users Thanks in advance, Wajahat Abbas http://www.wajahatabbas.com Thanks for replying. Ya, i was thinking that with SQL 2005 and ASP.Net relea ...Show All
SQL Server Howto suppress FETCH output
Hello, I'm opening a cursor with the sole purpose to select rows for deletion DECLARE test_cursor CURSOR FOR SELECT ... OPEN test_cursor ; FETCH NEXT FROM test_cursor WHILE @@FETCH_STATUS = 0 BEGIN IF -- check some condition DELETE FROM .. WHERE CURRENT OF test_cursor ; FETCH NEXT FROM test_cursor END For each row that is deleted sqlserver prints several lines of text with the contents ...Show All
SQL Server Ok got the per page sorted but...
i get a blank page after each record so 13 records, when previewed, adds upto 26 page 13 of which are blank. I noticed a post here about having nothing after the grouping and as far as i can see i have not, but i dont really know what that means..... Any help is appreciated, so close yet so far :-) Which renderer are you using If it's the PDF or Image renderer, please check the size of your report body and margi ...Show All
Software Development for Windows Vista "Sound like you are locking for DirectShow"
I am a beginner of DirectX development. Could you tell me how can I use DirectX to manage my video equipment-Usb Video capture or camera Please give me an VB program example. Sound like you are locking for DirectShow: http://msdn.microsoft.com/library/en-us/directshow/htm/directshow.asp frame=true Some information’s about how to use DirectShow with VisualBasic can be find there: http://m ...Show All
.NET Development Two packets POST to Web Service
Hi All, I am building VB.NET web form application which access Web Service. I am wondering why the VB.NET send two packets to request the to the web service. (I use network monitor to see the packets) First packet: POST /webservice/webservice1.asmx HTTP/1.1 SOAPAction: "http://webservice1/insUserName" Content-length: xxx Expect: 100-continue Host: 192.168.1.1 Response from the web service: HTTP/1.1 100 Continue Date: ... Second packet: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can you evaluate my message loop? For DirectX PROJECT
MSG msg; while ( TRUE ) { if ( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) ) { if ( msg.message == WM_QUIT ) { break ; } TranslateMessage( &msg ); DispatchMessage( &msg ); } } ...Show All
Visual Studio Memory leaks in the automation?
I'm using the automation to build up screens in visual studio using vb.net. After building 800 some screens (all in the same project mind you) the machine gets dog slow. Well upon looking at it, its using almost 1GB of RAM and the machine only has 512MB physically. Thats fine, but 1GB of RAM used seems excessive. I'm making sure to close the form after I created it. (my first attempt didnt do that and caused the system to run out of window handl ...Show All
SQL Server Retrieve a tables primary key
Hi, I wish to get the primary key for a table. In DMO the table object had a property called PrimaryKey that returned this info, however in SMO this property does not exist. How can i retrieve the primary key info of a table using SMO regards philip Hi Philip, I loop through the indexes collection of the Table object and look forIndexKeyType as show below: For Each oIndex In oTab ...Show All
Visual Basic ToolStripStatusLabels
How do you make a ToolStripStatusLabel have a ' CAPS ' feature (like, say, if CAPS LOCK is on, it'll say CAPS in black, but if it's off, it'll say CAPS in gray ) I can only partially answer your question. My.Computer.KeyBoard.CapsLock is a boolean type property. It will tell you the status of the Caps Lock Key. But I can't tell you how you would constantly monitor for any changes made to it. As a newbie, first instincts would tell me to ...Show All
SQL Server How to achieve the last Time-selection while iterating in the time-dimension itself ?
Hello I try to explain my problem with an example: Page-filter Fields: &[Year 2003].&[Jan].&[3], &[Year 2003].&[Jan].&[4], &[Year 2003].&[Jan].&[5] (=Multiple Item Selections) Range in days = 3 days Behind the scene: [ ] [Mutation] Year 2003 Q1 Jan 1 2 3 3 (=DayRange-1+1) 5 4 2 (=DayRange-2+1) -2 ...Show All
Windows Forms resizeing the datagridview by the user (not col but the grid hight, width)
I do not see any option to allow the user to resize the hight or width of the datagridview, I see the col resize not not the grid is it possable Or I can just do a + and - Button to expand the Hight and width by a given size with each press Well, how many other controls can a user resize Usually you would have the DataGridView embedded in another control like a Form or a Panel and want its size to ...Show All
Visual Basic Using the dialog boxes
How do you use the dialog boxes in vbexpress 2005 to adsd things like open and save actions Any help appreciated. Sorry for the late reply, to do multiple extensions, just change the code above to OpenFileDialog.Filter = "JPEG files (*.jpg;*.jpeg)|*.jpg;*.jpeg| Text Files (*.txt)|*.txt|All Files (*.*)|*.*" Best regards, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. December 2005 DirectX SDK now available
The Windows Graphics and Gaming Technology Team is proud to announce the latest version of the DirectX SDK, available for immediate download! The latest SDK, as always, can be found at http://msdn.com/directx/sdk . So what's new Well, some of the really cool additions and updates are: - Direct3D 10 Technology Preview: That's not a typo. If you have Windows Vista, you'll be thrilled to get your hands on thi ...Show All
