Software Development Network Logo
  • Visual C++
  • Microsoft ISV
  • Architecture
  • SQL Server
  • VS Express Editions
  • Visual FoxPro
  • .NET Development
  • VS Team System
  • Windows Live
  • Visual C#
  • Visual J#
  • Game Technologies
  • Visual Basic
  • Windows Vista
  • Smart Device

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

JBeardon

Member List

totem_pty
Paul Nast
SirKnight
bkork
andrewkilcer
shoagMSFT
mef2
njalkanen
jlento
k333
DeDanann
szesteve
sbonomi
windark
abwong
Dude on base
Jean Philippe Boucher
Ran-Solo
fly_boyz
Brian Brashear
Only Title

JBeardon's Q&A profile

  • Visual Basic WebBrowser 2005 : Handling dialog boxes

    I am using the 2005 .NET WebBrowser object to automatically navigate through some pages. Occasionally, the web page navigated to will create a dialog box alerting the user to something that then requires the 'OK' button to be pressed.  Of course, this will stop my application from any more automation until the dialog is closed. I have tried using 'SendKeys.send' for the enter key and spacebar in the 'document_completed' event but that event fires before the message box has focus.  Even if it did work, it seems like a hack, since I am just blindly sending this keystroke. I would prefer to be able to either disable the message box.&n ...Show All

  • Visual C# Delegate : Help me!

    In my codes, i want to using delegate to send puclic hexString from comport to some function. How can I write it This is some information about my code: string StringCom; ........... //Every time my comport have data, this function will let data Triggered when a character is received and placed in the buffer. private void OnDataReceived(object sender, System.EventArgs e) { string strReadBuffer; strReadBuffer = myPortController.Read();// Reads everything in the receive queue StringCom += strReadBuffer; strReadBuffer =""; } // I want to write some function that convert StringCom to hexString and p ...Show All

  • Visual Studio Express Editions Setting page size in code

    Hi, Can anyone help with this please I am trying to set the paper size for the print page method in code, however, It fails to change I have tried many properties and ways of setting it but it fails Basically I have a app that saves the page size to a xml file as an interger value that represents the paper size. Eg 8 = A3. I cannot seem to change the default value of the PoPrintPage_Printpage method from the value of 9 (A4) Private Sub PoPrintDoc_PrintPage( ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles poprintdoc.PrintPage '\\ Setup paper size Wi ...Show All

  • .NET Development How to run Report.rdlc in .net version 2.0?

    help me to run Report.rdlc in .net version 2.0. I can design it but I can't run it. The links help me. Plz help me , how to add parameter in desinge I try it but I can't do it. ...Show All

  • Windows Forms Can one use an image for the actual control?

    Hi.  This might be a simple task for the pros but I'm far from that!  Anyway, I would like to create controls such as knobs or switches etc. for my user interface.  Say I want to duplicate a home stereo face or whatever.  I would like to have a knob image from an actual photo then make this image rotate with adjustments an ...Show All

  • Visual C++ different location for *.ncb file

    Hello, we have our *.vcproj files on the network. But all created files (*.obj, *.lib...) are stored on the local disc for performance reasons. But till now, I didn't found a way, that the *.ncb files (with VC 2005 they are really big) saved on local disc too. Not in the same diectories as the *.vcproj files. Do you any solution Thanks for your efforts Markus   HI: Browse Information is controlled via the /FR<File> or /Fr<File>. As with /Fo, the <File> portion can be a directory. In Visual Studio, select properties for the project you want, and under "Configuration Properties -> C/ ...Show All

  • Visual C# locking write access to generic list

    Hi, I have a generic list that is accessed within a method for write access, as well as in a timer triggered method. The problem is when the timer triggers at the same time as the other method is triggered I get a CollectionModified exception while iterating through the collection. Thus I'd like to know if there is any way to lock the write access to the collection while one method executes and accesses it Thanks, Tom ah, I only had it in the one method and forgot it in the timer method ... that's why I was wondering why it didn't work :) thanks ...Show All

  • Visual Studio Express Editions Progressbar

    I made a program that download and put it in a directory, but when i'm downloading it, the program sets the wait cursor. I would like to do a progressbar, and putting the default cursos while downloading. I'm very new with c#. The code:         private void botao1_Click(object sender, EventArgs e)         {             Uri url = new Uri("http://miranda.predialnet.com.br/imagens/ch1ck3n.jpg");          & ...Show All

  • Visual Studio Express Editions Can I Create an Access DataBase Without Access?

    I don't own Access and this is for Learning Purposes.... Can I create an Access DataBase with my own Schema(I guess that's the word) with VBE or any Other Way I downloaded Northwind.... Can I change Northwind schema without Access Thanks   Yes. I know you could do it with DAO. I'm not sure about ADO. Since ADO.NET is a little less faciliated in persisting, the USE of ADOX has been recommended to me for things like table creation and storage and I find that it works very well with VB.NET. I've installed systems based upon access databases on on target systems that did not have access. I ...Show All

  • Smart Device Development deployment to mobile device

    Hi. Sorry, I did not know where to post this exactly Just installed VS.NET 2005 with .NET 2.0. I have a smartphone device (C500/SMT5600) and I cannot seem to deploy the application to it (a simple "hello" app) It fails to connect: All attempts to connect to the deployment target at port 5655 have failed. Addresses attempted: 127.0.0.1. The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Connect to device failed.   Now, I can successfull ...Show All

  • Visual Studio Tools for Office Most flexible deployment is to GAC?

    Working on a VSTO Word application. Users will need to be able to pull documents from a Sharepoint site that use the app as well as email them to each other, and also be able to work offline... Right now I have decided to install the assemblies into the application folder. However, I assume that if two users install into different app folders (or if Program Files is on D: for one user...) then they cannot email the document from one user to another and have it work (I haven't tested this yet). So it seems the best place to install the assemblies would be in the user's GAC and have them strong named and refer to them that way from the d ...Show All

  • Windows Forms Image on button with FlatStyle.System

    Isn't it possible to have an image on a button when it's FlatStyle is set to FlatStyle.System The image is showing correct when FlatStyle is set to both Standard, Flat and Popup but when I change it to FlatStyle.System the image disappears even in the designer. Thanks for your help! Brian I used Sergey's solution and it worked for me! Thank's  ...Show All

  • Visual FoxPro weird IIF output. Help!

    I was using IIF to perform simple calculation: I have a data base field "case" if the case = 0, I want to display 1, otherwise, show the database data I use SELECT IIF(case > 0, case, 1) FROM table However, the result is very weird. If the case < 10 (1 digit), the result is correct If the case > 10 (2 or more digits), the result shows "**", When I try to display it with strings IIF(case > 0, STR(case), '1') Then I find the string was cut, only the right most digit was left. Can anybody help me with this one Thank you very much. First, don't ...Show All

  • Visual Studio Team System CA1807: Either false positive or need code help

    The following code snippet raises fxCop warning 1807.  Either it is a false positive (as I know no way to force a switch statement to perform a case-insensitive compare) or there is a solution that I cannot seem to find... Here is the code: string outputType = query.OutputType.ToLower(CultureInfo.CurrentCulture); switch (outputType) {     case "excel":     ...     break;     case "text/html":     ...     break; } Here is the text of the error message: CA1807: Microsoft.Performance : MyClass.MyMethod(MyObject):MyReturnType calls String.op_Equal ...Show All

  • Visual FoxPro Call application from program and trace Menus and Programs within

    Hello, Can anybody help me please Am trying to call an application from another, but having a problem tracing the called program's Menus and Programs. At the beginning it started by having the Encrypted checkbox automatically selected after building project and an application (the application I will be calling) while I de-check it myself. I tried creating the project from the beginning and somehow this stopped, and I could trace again, but only Screens. Can anybody help please Regards, bounty Ok, I'll try to make it clear.. I have a main program A, and a smaller program B. I build B as an ap ...Show All

©2008 Software Development Network