ChiragKhabaria's Q&A profile
Windows Search Technologies Protocol handler - AddDefaultUrl
Hi .. I'm trying to register my WDS protocol handler! But I really don't understand how use AddDefaultUrl. I found ISearchCrawlScopeManager definition in the SDK. But how do I use it Does my protolol handler need to implement it I hope someone could help me! Hi ZiQ, I'm not sure if this is the information you have seen or not but what I found is: First, a protocol handler must be added via the AddProtocol method, as follows: ...Show All
Windows Forms Datagrid Problem using MDI forms.
hello, I am new to vb.NET so please be patient with me:). I am creating an application using the MDI. I have a form called frmBack which is the parent form with IsMdiContainer=True. When this form opens an Menu (frmMenu) form is opened at load. ...Show All
.NET Development is this transaction completing on its own!?
I' v e re-tested this 3 times now. It seems to happen roughly 10 minutes after the transaction is promoted to a distributed transaction. The transactionscopes being created are initialized with a TimeSpan.FromDays(1) for the timeout value (one at the client, then one for every server request, for an estimated total of ~400 transactionscope objects created at the server-side). Below is the tail of my debug output which includes the ex ...Show All
SQL Server DATEDIFF in Report Builder
I'm having a bit of trouble with the DATEDIFF function in my Report Model project and in Report Builder. I am trying to create a new Expression field that will work out a persons age from the current date and their Date of Birth, here is the formula that I have entered, DATEDIFF("y", NOW(), DOB) where DOB is the field that holds the persons date of birth in the database. When I enter this into the formula box and click OK i get the following e ...Show All
Smart Device Development Tranparent color in Win CE.NET
Hello! I want to add a panel on my form that I can see throught him (he is on top of other controls ... I used BringToFront() metod) I tried MyPanel.BackColor = Color.Transparent; and MyPanel.BackColor = Color.Empty; but I can`t see what controls are under him. In the first case I get a white backcolor and in the second one ... i get a the color from the under control but the control`s text is invisible. Can anyone help me with that ...Show All
Visual Basic Dynamically populating a combo box .?
I am trying to populate a combo box on a form based on the contents of a field within SQL. i.e. I read the data from the SQL field. In this case I return the string "Select * From Transactions" I populate my dataset and set the dataset as the datasource of my combo box. This works fine. However what I want to do is to use a where clause in my select statement such as "Select * From Transactions Where AccNo = '" & strAccNo & " ...Show All
.NET Development PerformanceCounter specifications ?
I am looking for the standard PerformanceCounter specs. Through the performance monitor application that comes with WinXP, I can see that there are loads of performance counters out there (on a WinXP machine). Is there some reference guide on those counters (at least the OS and .Net counters) Thanks in advance, Joannes I am also wondering why the .Net specific performance counters (all the ".NET CLR foo" cou ...Show All
SQL Server Secondary/multiple data sources in data source view
I am new to reporting services and am trying to use model designer to build a data source view (and then a model) based off of multiple data sources. I am sorry if this question has been asked before but I could find the question by searching for it) Using a model project I have create 2 data sources from 2 different databases on two different servers. Then using the data source view wizzard I created a data source view (DSV) for my primary d ...Show All
Visual Basic Setup Wizard
I purchased Visual Basic Standard 2003 and I see that there is no setup wizard.. Isn't there supposed to be one ...Show All
Windows Forms Server and Office Web Components
Hi, I installed OWC on the Server. When I open the URL http://192.168.131.21/Terrarium, it's redirected to http://192.168.131.21/Terrarium/Charts/ChartNew.aspx and I got the following error: (the same on the Server and on a Client) Server-error in the Application '/Terrarium'. COM- ...Show All
Visual Basic C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax The biggest problem comes from trying to recognize these characters from the comport. ...Show All
Visual Studio Team System Web tests resulting in Internal Server error due to Invalid ViewState
I am seeing an odd problem when testing our web site. I have no problems navigating through our website manually from a web browser and experience no problems when creating a web test that navigates through our web site. But, when I run the web test I created, then I keep getting an "Internal Server Error" on the first server page transfer. When I look at our server logs it indicates that the problem is caused by an invalid ViewStat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I set the Viewport in directx / c#?
I want to render into a portion of my window. I'm assuming that you use the Viewport structure but I can't find any examples. I'm using a camera based on the dxut camera from the sample framework. I can do this in openGL but can't seem to figure out the way to do it here. Any help would be appreciated. Depends on which version of DirectX you are talking about. I will give you a hint in both directions. C# Vie ...Show All
Visual Studio 2008 (Pre-release) how does WindowStartupLocation.CenterScreen work?
Now I want my window stay in the center of the screen not only when it starts up but also throughout the running time. That's to say, no matter how user adjusts the size of window I can also adjust the window's location to keep it in the center of the screen. So I hope you can tell me how WindowStartupLocation.CenterScreen works Thank you. Thanks for your advice. I have tried it. But find this will cause the window splash as I change ...Show All
Windows Forms Disable Cut and Paste
Hello, I would like to disable the Cut and Paste Options from keyboard shortcuts for the TextBox Control in a Visual Basic.Net application. Thanks in advance, Joanna. Hi, There is no possible to disable these functions if i'm using Visual Studio 2003 Thanks for your help, Joanna. ...Show All
