bhaskar karanth's Q&A profile
Visual Studio Object datasources vanish from rdlc data sources in web project
Anyone having issues with their object datasources appearing and vanishing from the datasource browser I create an object for binding as a datasource in my App_Code folder, compile my web project and it appears in the datasources in the report designer. Then I will make an aspx, setup a reportviewer control for my new report, go back to the rdlc and the object datasource sometimes just vanishes. I refresh, no luck. The only solution I ...Show All
Windows Forms event on scaning barcode
hi , i am using vb.net 2003 and i want to scan barcodes with the scaner i want if the scaner completes the scaning doesn't matter what the length is the next textbox is focused i tried it on different events but could not find the&nbs ...Show All
Visual Studio 2008 (Pre-release) An Existing Connection Was Forceably Closed by the Remote Host
I've just gotten WCF to begin working. I have about 15-20 different services - all of these were previously running as web services without a problem and I've just finished converting them all to run under WCF. All of the services except one are running fine under WCF. The one that is not running is giving me an error that says: System.ServiceModel.Communications Exception: An error occurred while receiving the HTTP response to 'http:// ...Show All
Windows Forms How to pass a keyboard command to a Child Form
Hello, I have a keyboard command that I am trapping in a main form by setting these properties for the form. this .KeyPreview = true; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this .ChildForm_KeyDown); The part I am stuck on is I know have the commands trapped using protected override bool ProcessDialogKey(Keys keyData) { if (keyData.Equals(Keys.Alt |Keys.A) || keyData.Equals(Keys.Alt |Keys.B)) { MessageBox.Show ...Show All
Visual Basic Array Bounds
Is there anyway to determine if an array has been dimensioned UBound(arrTest()) will give <Subscript out of range> error if the array is not dimensioned. I can always set a flag if the array is initialized but gets complicated in my application. It is do-able but just curious if there is an easier way... Thanks, KAL you don't need to use the on Error approach, See: http://groups-beta.google.com/group/microsoft.public.vb.ge ...Show All
.NET Development Implementing interface in Web Service
I seem to be having some problems implementing an interface within a Web Service. Here is basically what I have for my code-behind for the ASMX: public sealed class Service : System.Web.Services. WebService , ClassLibrary. myInterface { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); } [ WebMethod ] public string HelloWorld() { return ...Show All
Software Development for Windows Vista NVIDIA GeForece 5200FX
just got an error with MS Vista Beta 1.... I installed my driver's from Nvidia and now when i exit i got 7 errors, and now windows wouldn't start up anymore Someone got any ideas i hope so Grtz, SkyBlade! ...Show All
Visual C# How to get different files from one directory with GetFiles()
Hello guys... Is there a way to retrieve the names of all .bmp and .jpg files in one directory with only GetFiles() method....such that it puts all files into one array Here is a little self-explaining example: public void RenameAllBmpToJpg( string directoryRoot ) { String[] files = Directory.GetFiles( directoryRoot, "*.bmp" ); foreach ( String file in files ) { String destFileName = P ...Show All
Windows Forms Starting .Net application from a parent C++ application
Hi, I have a question about starting a C# .Net application from another app that is written primarily in C++. I basically want to add a menu option to the parent (C++) app so that when the user selects this menu option it fires and event that will open the .Net application. Some other things I want to control are things like - I only want one instance of the child (.Net) application running at a time. Any suggestions or help would be ap ...Show All
SQL Server creating tables
I am trying to go through an arraylist and create some database tables for each entry in the array. what I have is Dim ques As String For Each ques In questions query = "create Table " + ques + " (plantid nvarchar(100), Answer nvarchar(100))" cmd = New SqlCeCommand(query, con) cmd.ExecuteNonQuery() Next I am wanting to use the item in the arraylist as the name of the db. I am getting an error saying ...Show All
SQL Server No support for SQL Server Authentication and SSIS !!!!
Hi I want to manage my servers from a central location and have the ability to manage my packges too. Unfortunatley my servers are across domains which means I have to use SQL Server Login, which isn't a bad thing. However for some bizzare reason I can't connect to Integration Services using this method, only windows authentication which is a complete pain in the butt from a management stand point as I have to copy packages to var ...Show All
SQL Server Views or not?
I am supposing that SQL Mobile 2005 does not support views in its database It is odd that all development tools show the tab of Views, but I cannot seem to find how someone would create one there. Is there a reference someone can point me to, or just reply to the forum to set me straight. Thanks. Correct, views and stored procedures are not supported by SQL Mobile. I would guess development tolls are com ...Show All
.NET Development How to support interface with MS Access databases in 64-bit applications?
In my application I used ADO.NET and Microsoft.Jet.OLEDB.4.0 provider. It works in Win32 environment. When I trying to run a 64-bit program, I am getting the following error: "The 'Microsoft.jet.OLEDB.4.0' provider is not registered on the local machine. " AFAIK there is no 64-bit Jet OLEDB Provider, and unless Microsoft has changed (or changes) their mind the Jet database en ...Show All
.NET Development setspn and delegation
I am having problems getting delegation up and running using a service account running IIS 6.0. My test scenario calls from a XP client through to a webservice on server iis1, through to another web service on iis2, both web servers runing win2003 SP1. The Domain is at a functional level of win2003. Both web services have windows auth and impersonation set, ping methods to the individual webservices do work ok. I have setup 2 ser ...Show All
Windows Forms After running application (F5) Controls disappear from designer, now invisible
I wish I could post my entire form on here for inspection. Anyway I will try to explain the best I can on what is happening. I developed this application using VS 2003. I have a form with a tab page with 5 pages on it, on each page I have a few controls including TextBoxes and NumericUpDowns that are binded to a DataView on my form from a method called from my constructor. My NumericUpDown controls are set to display tenths and ...Show All
