Gaoqiang's Q&A profile
Visual J# How to hit BreakPoints in VJ#
Hi all, i have made breakpoints in our web application porting from vj++ to vj#.The break points were hitting and were enable to track using f11 and f10 keys. But in vj# ,when insert new break points,it don t seems to hit.Please give us some ideas where it is lacking, inorder to hit the break points. thanks praveen Hi, Can you please answer following questions to help us understand your scenario better... 1. Which version of VS are you working on VS2003 or VS 2005 2. When compilation is over are PDBs generated in the output path 3. When you hit F11/F10, what does say Do ...Show All
Smart Device Development capture event key when a webBrowser is on a form
Hello, I develop on vb.net with compact framework 2.0. I set the KeyPreview of the form to true and capture all key events, UNTIL I put a webbrowser on the form ! Then i can't capture the event of the key, in particular action key .... Thank's for your help, stephan We are looking into this issue as a bug in the .NET Compact Framework David Wrighton .NET Compact Framework ...Show All
SQL Server cant see Report manager page
Hi Friends we've report server (sql server 2005 standard edi) on win 2003 server. i can see report manager page (i.e. http://servername/reports) from my machine but some of out users cant see this page !! all they can see is "sql server reporting services" text nothing else. no reports and no models ertc., i assume its something to do with rights issue. where can i set these rights so that all users within our domain can see and create reports off report server page. Thanks for your help. The user must have "Execute Report Definition" permission. This is a system level permission that can be configured from the &quo ...Show All
Visual Basic Connection String in Module
Hi, I'm currently working on an application that has only one Form + 2 Modules. In one of my modules i need to have access to 2 Access DataBases. I know there are some objects we can add to our forms to gain access to databases, but I dont want my form to have access to the databases, just one of my modules. Is there a way to do that or do I need to use the form thanks a lot for helping. Its been a long time since I worked with DB. Typically the form is used as the UI only and all db work should be done in a DAL comprised of modules and or classes... So yes you can put your connection string in a module (recommend looki ...Show All
Windows Forms Datagrid Tab Navigation through column
I have some hidden fields in the datagrid. While doing tab navigation i need to set to set the focus to visible fields only.Ciurrently the focus moves to the hidden fields also. Kindly let me know how can i solve this. Thanks in advance. Didn't look hard enough!! http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q857q Joe ...Show All
Visual Basic I have problem with win2000 and vb2005 in clickOnce
Hello all, When I install my clickonce application, in win2000 OS there is a problem comes up when first form shown there error mesage is System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle ) at System.Windows.Forms.Control.MarshaledInvoke (Control caller, Delegate method, Object[] args , Boolean synchronous) at System.Windows.Forms.Control.Invoke (Delegate method, Object[] args ) at System.Windows.Forms.Control.Invoke (Delegate method) at Microsoft.VisualBasic.ApplicationServices.W ...Show All
Windows Forms DataGrid / Combobox / Query
Hi there, i’m quite new on this VB2005 Coding, but there aren’t books in German language on this yet. So what i want to do: a DataGridView shows the content of my query, so far so good. Now i want to filter this DataGridView by a choice in a ComboBox, e.g. i choose "January" in the ComboBox, now the DataGridView should contain all Datasets from my table which contain "January" in the Column "Month". In VBA i know how to do it, but now i just don’t know how Hope someone can help me! Thank you guys! Michael Hi, If that's your situation then it would cause you some extra code. The Filter doesn't automatically skip empty values. Just par ...Show All
Visual C# retrieve user name
how can i retrieve the user name on windows You can use the Environment.UserName property to get the user name of the person who started the current thread. MessageBox.Show( "Username: " + Environment.UserName ); ...Show All
Visual Studio Team System Share the same data source for web testing
Hello, I have several web tests wich uses the same data source. Is it possible to link to a centra data source definition (ie. app.config) as it can be done for web test coded or unit testing Thanks, Pierre ...Show All
Visual C# How can you make your software expire after certain Days ??
Hello All, I have an application which I want to expire after the trial period and only works after you eneter the key. Any suggestions, piece of code which I can use to secure my application. Thanks, Harsimrat Well, you need to store the date the software was installed, that date needs to stay if someone does an uninstall, and then you may want to write some code that detects if users have been playing with the system date. As for entering a key, you have all sorts of options there. Do you want a key tied to a machine Do you want to generate a response key ...Show All
Windows Forms SelectedIndex in ComboBox is always -1
So how do I find out which item is selected in the combobox if everytime the SelectedIndexChanged is fired SelectedIndex is always -1 ...Show All
Visual Studio ReportServerCredentials
T he scenario is simple: I have a reportviewer control and want to show & print a ServerReport. The application needs to be able to connect to the reporting service over the internet and the client machines do not need to be in the same domain. This is the same authentication scenario that applies to viewing reports through HTTP using internet explorer and a URL to the reportserver virtual directory: Internet Explorer asks for a user and password. Howerver, I want to specify the credentials programatically so the users don't need to enter them manually. Since the ReportViewer is connecting to the ReportServer website through HTTP (I gues ...Show All
Visual Basic Save\Load values as text file
Hello In VB6, I was able to save and load values as text file, it saves them like this form: "V1","V2","V3" I was using this code: Dim A As String, B As String, Op Op = FreeFile A = "Value1": B = "Value2" Open "D:\File.txt" For Output As Op Write #Op, A, B Close Op How can I do it in VB2005 Thanks & Regards The following code will do the trick in VB Express/2005 making use of the My.Computer.FileSystem.WriteAllText method Dim A As String, B As String Dim Content as string =A & B My.Computer.FileSystem.WriteAll ...Show All
SQL Server “AcquireConnection method call to the OLEDB Connection Manager for SQL Server failed” Error
I have an SSIS package which takes input from Flat file and transfer the data to SQL Server using OLEDB Destination Data Flow Item. The OLEDB Connection Manager used for the destination is configured to use SQL Server Authentication for the user ‘sa’. The package works fine without enabling the configurations. But when I enable package configuration and save the configuration of the various connection managers in an XML configuration file and then run the package it gives the following error in the validation phase: [OLE DB Destination [21]] Error: The AcquireConnection method call to the connection manager "<Connection Mana ...Show All
.NET Development R:Base - is there any place for .NET in it?
Hi, a few days ago I have had an interview with local company who is looking for a developer. It appeared that they are R:Base shop. Who knows, is there any place for .NET in R:Base Or this is just a closed environment Is it dead end in a career Any info will be greatly appreciated. Thanks. Victor Thanks. I have been there, didn't find anything. Trying to get info from somebody who has some experience or any knoweledge in both R:Base and .NET. Victor ...Show All
