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

Software Development Network >> godsarmy's Q&A profile

godsarmy

Member List

fbiots
ajay_dekavadiya
Andrew Westgarth
Info_Peter
ronstoney
sqlster
techuser08
MarcoB
Jarodtweiss
JDPeckham
Ti
_brg_
mrmckeb
mcdonaldn
Lawrence 007
Rubal Jain
C Senthil Kumar
BradV2
Terence Tung
SukhiNew
Only Title

godsarmy's Q&A profile

  • Visual Studio Express Editions WebBrowser non event

    I have a problem with WebBrowser when I navigate to a URL where the document doesn't complete under certain circumstances. First, the code... Dim wb As New WebBrowser wb.Navigate(URL) Do Until wb.ReadyState = WebBrowserReadyState.Complete MsgBox(wb.ReadyState.ToString) Loop MsgBox( "Finished" ) It never exits the Do Until loop unless I have the msgbox(wb.readystate.tostring) line in there. This seems to allow the application to do events. I get the same problem using the document completed event (it never fires unless I have the MsgBox line in the loop). I am using this code within a class and I can get it to work if I put it within a form class because I can put My.Application.Doevents in the ...Show All

  • Visual Basic visual c# help

    It is possible to change this code into Visual c#. Private Sub button1_click( ByVal sender As Object , ByVal e As EventArgs) Handles Button1.Click If Me .PictureBox1.Visible = True Then Me .PictureBox1.Visible = False Me .PictureBox2.Visible = True Else Me .PictureBox1.Visible = True Me .PictureBox2.Visible = False End If End Sub Private Sub button2_click( ByVal sender As Object , ByVal e As EventArgs) Handles Button2.Click If Me .PictureBox2.Visible = True Then Me .PictureBox2.Visible = False Me .PictureBox1.Visible = True Else Me .PictureBox2.Visible = True Me .PictureBox1.Visible = False End If End S ...Show All

  • Visual Studio Express Editions Visual Web Developer Express Fails to Complete Setup

    I have tried using the download version and a CD install (came with book on the software). Both hang on the Setup dialog box saying "Setup is Loading Installation Components". The progress bar goes to completion but the install never moves to the next step. This failure only occurs with the Web edition. I had installed the Visual Basic Express version two months ago along with 2.0 of .NET and it continues to work fine. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using AudioVideoPlayback in c#

    Hello I try to display the FileCopy.avi file that comes with VisualStudio (in the graphics library). I did some searching and found that the (only) way to display avi files in c# is to use the Video class in the AudioVideoPlayback namespace that comes in the DirectX 9.0 sdk. ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_m/directx/audiovideoplayback/audiovideoplayback.asp ) The problem is that FileCopy.avi file (and all the rest of the AVIs that comes with VS) has a background color that needs to be transparent (a purple color in the FileCopy.avi). In VisualBasic 6 there is an AnimationControl that display AVI files and its have the BackStyle property for the transparent option (if transparent i ...Show All

  • Visual Studio Express Editions Setting Node Backcolor Property Value

    If reader.GetAttribute("level") = "2" Then reader.Read() Dim nd As New TreeNode nd.Text = reader.ReadString reader.Read() nd.Name = reader.ReadString nd.BackColor = Color.Yellow TreeView1.TopNode.Nodes(TreeView1.TopNode.GetNodeCount(False) - 1).Nodes.Add(nd.Name, nd.Text, 2) End If I do the same for "level = 1" nodes, and the color value is changed as expected. However, when I try it on level 2 nodes, no color change is made. I double click the parent node to expand, and the color is not changed to yellow. Btw, this is in the form load event. I can change the parent node (leve 1) to blue (or any color), but the le ...Show All

  • Microsoft ISV Community Center Forums Call Windows API to store hyperlink path to external documents

    Hi there, this is a toughie! I am in the process of building a new system using access and VBA. One of the major requests from users in terms of functionality for the new database is they would like the ability to store word documents, excel documents, PDF documents, scanned documents e.g. gif, tif, bmp etc against either a company or a contact within the database. I do not want to bloat the size of the database because initially it will be an Access back end. I would like to create a documents table and link it to the company table and on the company form i will then have a command button that will open up a documents form relevant to that company. On that form i would then like to be able to press a command button that will call the w ...Show All

  • Visual C# Help on creating a generic singleton class

    I am on the process of creating a generic class for the singleton pattern. My implementation as follows: public class Singleton<T> where T : new() { public static T getInstance() { if (this_ == null) this_ = new T(); return this_; } private static T this_; } Sample use would be: Singleton<Logger>.getInstance().someMethodHere(); The problem with this implementation is that the target class that would be converted into a singleton must have a public constructor, which is in the first place I am preventing it. I have implemented a simliar approach in C++, however I've used a "friend" class that sould also be declared on the user class. Please advice. Thanks. (BTW, th ...Show All

  • SQL Server Multiple Client on the same ReportServer

    Hi ! Once again i have a question . We have a Web application and lately we have install ReportBuilder to allow some of our Clients to create their own reports. I was wondering how to "hide" reports made by a Client from another client For exemple if a Client 'A' create a report and save it on his folder. When the client 'B' open reportBuilder and select the option OPEN, currently the Client 'B' can see the folder of the Client 'A'. So the Client 'B' could modify a report that belong to another client. I was looking in the Report Manager but i couldn't find how to 'hide' a folder from user using the security option. Maybe we haven't configuer ReportServer propely. How can we solve this problem Is there a good website that expl ...Show All

  • SQL Server who can tell me the function of CDbl

    lately, i have always see other workmates's code about MDX, i find there is a sentence below: IIF(IsEmpty([Measures].[C11696]/[Measures].[C11695]), null,( IIF([Measures].[C11695] = 0,0,CDbl( [Measures].[C11696]/[Measures].[C11695])))) ' and i try to find the details of CDbl on online help, but i can't get. Who can tell me and where i can find details about CDbl thks very much It looks as though it is accessing the VB function cdbl, which will cast the results of [Measures].[C11696]/[Measures].[C11695] to a double. Try this link for more info: http://www.informit.com/articles/article.asp p=29418&seqNum=6&rl=1 However, I'm not 100% sure that the cdbl is needed, as I thought tha ...Show All

  • SQL Server Foxpro .net odbc data provider misidentifying strings as unicode

    Since my foxpro OLE driver has been rendered useless by service pack 1 for sql server 2005 I am forced to use the .net data provider for odbc. I am importing a number of tables.. each time I add the DataReader Source to the dataflow and connected it to the OLE DB Destination I get a load of the good old "cannot convert between unicode and non-unicode string data types" errors... So I'm having to do derived column transforms, for each and every column that it coughs up on. Using expressions like (DT_STR,30,1252)receivedby to convert the "recievedby" column to a DT_STR, Some of these tables have 100 string columns.. so I'm getting a bit sick of the drudgery of adding all these derivations... Is there any way to tell this ...Show All

  • SQL Server Import word documents into SQL Server table

    Hi, How to import word documents with same structure into sql server table Thanks, Hello, If I understand correctly you want to import the data in the word document to Sql Server table. There is no direct way I can think of to achieve this. But you can try this. 1. Export the data into Microsoft Excel or Microsoft Access. 2. Create a database in Microsoft Sql Server 2005 using Microsoft SQL Server Management studio. 3. Right click on the database you created from the Management studio object explorer. 4. Select Tasks-> Import Data. 5. It will launch Import/ Export wizard. There you can select your data source to the Microsoft Excel document or Microsoft Access database. From there you can import the data ...Show All

  • Software Development for Windows Vista Using CallExternalMethod activity always terminates a workflow....

    I have created an interface, marked with externaldataexchagne. Then I have impplemeted methods defined in that interface. I have then tried using CallExternalMethod activity to invoke that method, but whenever that activity needs to be executed, it terminates the workflow. Any idea why this is happening Thanks, Marko Vuksanovic. The error i get is: System.InvalidOperationException: Could not find service of type xxxxxxx through the currently configured services.... It seems like I need to use ExternalDataExchange service... Could someone point me to some documentation about this topic ...Show All

  • Visual Studio How to get a List of available Classes with VSPackages?

    Hi, I need to enumerate all the available classes which are derived from DataSet with VSPackages (not using DTE). Is there anyway to get a reference to one of the enumerated class Thanks in advance, Denniz Thanks Carlos. I had seen your usefull article before posting my question. Your article works fine as long as you are using it within an Add-in project. It gives you list of all the current project Classes. Suppose I have a VSPackage project called ProjectA. When I run this project it opens another instance of Visual Studio which has a project called ProjectB. The code in your article will only give me the list of ProjectA items not the current ProjectB . How can I get list ...Show All

  • Software Development for Windows Vista Internet Explorer tree broken?

    Hi, I am trying to access the controls inside a web page for an Internet Explorer window in foreground. Using the Native window handle and the TereeWalker I can get down until it detects the "Internet Explorer_Server" class as a pane. I am not able to get its child elements. The UISpy utility also detects no children of this pane, but using mouse coordinates I can get website controls like e.g. hyperlinks and walk up the tree until I reach the Desktop. Is this a bug, a feature or have I missed something Thanks for any hint. Timo  BTW. The same problem exists in Firefox :-/ I can navigate the contents of IE or Firefox if and only if I do all the UIA stuff from my GUI th ...Show All

  • Visual C++ Arrays of Strings

    Hi folks, I'm writing a .NET Winforms project in Managed C++ using Visual Studio 2003 and I'm wondering how I go about having multi-dimensional arrays for String objects I'm vaguely aware of the Array Class, but I'm not sure if this needs to be part of my solution. I've tried a few experiments using the classic C++ method of creating multidimensional arrays, but (of course) this does not work owing to the managed restrictions of the language. In any case, I just need a little direction here - do I need the Array class or is the syntax for this a bit different than what you might expect -Zero In VS2003 you need something like this (tested in VS2005 with /clr:oldSyntax because I don't have VS2003 ...Show All

©2008 Software Development Network