Software Development Network Logo
  • Smart Devicet
  • SharePoint Products
  • .NET Development
  • Visual FoxPro
  • Audio and Video
  • Game Technologies
  • Visual C++
  • Visual Studio
  • VS Team System
  • SQL Server
  • IE Development
  • Windows Forms
  • Visual C#
  • Windows Vista
  • Visual Basic

Software Development Network >> Dr.9's Q&A profile

Dr.9

Member List

Rohit Tela
Michael Hansen
James P. Webster
SQLChamp
Mark Benningfield
mel_mel
bilalso
pmanisekaran
ajay_dekavadiya
AlexBB
adman666
pd_tch
JerryCic
Dharan Prakash
Cory E
Hila123
Slugger25
ThE ViKinG
jazztuffy
JulianRidley
Only Title

Dr.9's Q&A profile

  • Visual Basic Accessing VB component property methods from C# application

    Hello Can someone help me for the below proble, I am working on a task of converting one vb6 application in .Net. Current vb6 application is using one vb dll provided by third party. I have written a code in C# and added the third party dll (developed in vb6) in the reference. The strange problem I am facing is that I am able to access all the properties of vb6 dll but not the methods of the property.One thing I do not know is whether the property datatype is collection or any other datatype. For example : TestClient.Client objClient = new TestClient.Client(); I am able access the "GenericBO' property of the objClient but not the "Item" method of the "GenericBO' property. In current VB6 the sam ...Show All

  • Visual Studio 2008 (Pre-release) Wizard question?

      Hey all... two part question... I'll name the SQL server db and the SQLCE DB clientdb  What is the fastest way to create a SQL Compact Edition db from an existing SQL Server Database and Can I sync only the tables of this clientdb.sdf with the server   No tombstone tables for this example just a straight table sync. Any help would be greatly appreciated. Thanks, BillB SQL CE does not support bulk copy (BCP) thus you are left with doing it manually (inserting row by row) or using sync. If you chose to use sync services, you can use the configure each table with snapshot direction on the agent. On the server side, your table sync adapter need to have the SelectIncrementalInsertsCommand only (i.e. ...Show All

  • Visual Studio Express Editions Publish errors for prerequisite components

    Hi, I use VB 2005 Express Edition to create and publish a project. In Project Designer - Publish page - Prerequisites Dialog Box, if check 'Download prerequisites from the component vendor's web site' and publish the project there's no problem. If check 'Download prerequisites from the same location as my application' and publish, there're errors as the following: "The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information." "The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' ...Show All

  • .NET Development how do i print html to the printer...

    hi how do i print html file to the printer so the print wont contain the source but the html page as viewed in the browser Hi guys when i am using the ProcessStartInfo method for print, how can i set it to print the html document as landscape thank u in advance sorsh ...Show All

  • Visual Basic Process control exception handling

    Hey all, Please could anyone suggest the best way to handle a win32 exception that would be thrown if the file I try to launch is not dettected Many thanks, Tom. The best way is to use a try/catch block. Example Sub LanchProgram(ByVal exePath As String) Try ' Your code to launch the program Catch ex As Win32Exception ' Print an error message End Try End Sub Can you post the code you are using to lanch a program ...Show All

  • Visual Studio 2008 (Pre-release) question about PrintVisual?

    Hi, I am using PrintVisual() to print out a xaml visual element. The problem I have is how to show a busy signal (for example an animation) to the end user while the xaml element is printed. I try to start a busy animation right before calling PrintVisual but it didn't work. It seems PrintVisual is blocking all painting event. Any suggestion to work around the problem thanks chong Hi Keith, I've gotten quite deep into a problem where I could make use of such an example. I've scoured the docs and can't find a good, complete example of something meaningful being done on a secondary thread, in particular, something that would require the use of VisualTarget/HostVisual classes. I wo ...Show All

  • SQL Server Export to XLS

    Actually I'm stuck in one report have page breakes agfter some tables. there are aroud 5 pages. now while exporting this report to .xls is gives up only 2 pages i.e. 2 sheets i'm loosing other data i.e. page 3,4,5 But in PDF, HTML it works gr8. It will be great if any one can give me answer Thanx ...Show All

  • Smart Device Development How to center a dialog box

    Hello, Looking at some of the msdn code I found the snippet below that I am trying to use for a customize dialog box. MSDN states this is available on compact 2.0 but I get the message stating it's not declared. Any help would be appreciated. John Dim form1 as new form() form1.StartPosition = FormStartPosition.CenterScreen I may be looking at a different page than you... however the StartPosition MSDN page does not have any mention of CF2. I'd wager it is claiming that it can work on different Windows CE based systems... but still require the regular .NET Framework. ...Show All

  • Visual C++ .NET Applications + Single Instances

    Is there a way in C++ to stop multiple instances of a programs from running Can you check somehow to see if an instance is already running and then not start anotherone Thanks, Michael While VB.NET has built-in support for this, I don't think C++ does. Use the classic technique of a named Mutex to detect there's another instance already running... ...Show All

  • Windows Forms DataGridView - Double Click

    Hi, I'm using vb.net 2005. I was able to view data in datagridview but when I try to setup double click to find the name and ID number of datarow like 2003 version, I get an error. Dim gridPoint As Point = grdClients.PointToClient(Windows.Forms.Cursor.Position) Dim hti As DataGridView.HitTestInfo = grdClients.HitTest(gridPoint.X, gridPoint.Y) If hti.Type = DataGrid.HitTestType.Cell Or hti.Type = DataGrid.HitTestType.RowHeader Then Dim dtRow As Integer = hti.RowY Dim dv As DataView = CType ( Me .grdClients.DataSource, DataView) <- this is where i get a error (Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataView'.) Dim ThisFieldID As String = CType (dv(dtRow ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Question about location and number of main game objects

    Ok so I'm still starting out with XNA, so apologies if this sounds like a strange question. I'm still getting the hang of the architeture of XNA, and am having trouble working out the numbers and location in the heirarcy of certain important game objects. Im using a GameState style engine for my game, and refer to each "state" as a "screen" This is my current layout... GraphicsDevice - One in main game class, passed through constructors to relevent functions ContentManager - One per "screen", made sense as if a screen unloads then all its content should unload too ( ) SpriteBatch - Currently one for each low level game object (eg, Sprite object, UIElement object) however i think this should be higher up and pa ...Show All

  • Visual Studio Team System Status of build in a team project

    How can i get the status of a build running in a team project. In C# or from the command line.   Also what event is fired after every chanege of build status (eg. Initialization, Getting sources, Testing etc.). thanks You can check on the build status of a running build in the UI. But you can not get the status of a running build from the command line. There are BuildStatusChangeEvent and BuildCompletionEvent. Note that the BuildStatusChangeEvent is fired only when there is a change in Build Quality and not for the build steps (Initialization, Getting sources, etc.). You can set up notification for these 2 events through Project Alerts. Swaha ...Show All

  • Windows Forms Dropdown List

    Is there a way to make a Dropdown List typing enabled in a web application. Thank you in advance The rule here is that IE is the standard, so besides us, no one should use firefox :) Thank you very much and you have a good nite :) ...Show All

  • SQL Server Subscriptions invalid after SP applied

    Hello, I finished applying SP 1 to sql2k5. Under the replication monitor all of the subscriptions now look like [].databasename when they were originally [subscriber1].databasename. Under Mgmt Studio I see the subscriptions correctly. When I try and replicate I get the message "The subscription to publication 'pub_databasename has expired or does not exist." I have tried to reinitialize the subscriptions but it doesn't work. Is there a way to solve this without have to drop the subscriptions and add them again as I do not want to lose the changes that were made on the subscriptions. We are using merge replication. Thanks. John Thanks for posting this information it was helpful in fix ...Show All

  • Visual Studio Express Editions Capturing form dimensions

    Hi all, One of the things I'm trying to do with my current project is to preserve the most recent dimensions (x, y, w, h) of all the forms upon user exit. And then, when the user runs the program again, the settings are restored. Currently, I'm using the StreamWriter to send the form dimensions to a text file. This seems to work fine for my "main" window ("Me." below), but for some reason my other form ("OutputConsole") only holds the orginial values for the form when it was instanced. In other words, the values don't seem to be changing when I resize and reposition the window. What ends up happening is, the main form settings are captured, but the "OutputConsole" is only capturing the initial ...Show All

©2008 Software Development Network