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

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

Frank777

Member List

sdw
Jessica
spg
Sudhir Hasbe
alex_razv
Lee_Dale
rrao
Alan Hebert
Heath Stewart - MSFT
Ben Ryan - MSFT
Tyris
fxcoper
MikeyG99
Lampy
amerigo5
Frank Jona
Dr. Joe
_JERKER_
Artem V
csheppard
Only Title

Frank777's Q&A profile

  • SQL Server Expression with fields from different datasets

    Hi! I'm trying to add a calculated field to a dataset, using a field from a different dataset in the expression. The datasets have different datasources. When I try to preview the report, I get the following error: An error occurred during local report processing. An internal error ocurred on the report server. See the error log for more details. And the Visual Studio closes! Is it possible to use fields from different datasets in a calculated field Thank you! ...Show All

  • Windows Forms Fillpolygon-unknown number of points

    In the examples I can find about 'Fillpolygon' its always drawn with a known numer of points (see example below). How do I handle this if I don't know the number of points,,,say, I read the number of points and coordinates from at different file, every time I run the program Example: Public Sub FillPolygonPoint(ByVal e As PaintEventArgs) Dim blueBrush As New SolidBrush(Color.Blue) Dim point1 As New Point(50, 50) Dim point2 As New Point(100, 25) Dim point3 As New Point(200, 5) Dim curvePoints As Point() = {point1, point2, point3} . e.Graphics.FillPolygon(blueBrush, curvePoints) End Sub Do it th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem with setting Mouse Position with SendInput()

    Hi, I have an OpenGL Application and want to use the mouse for a Free-Flight Camera. The mouse should not be restricted to the Monitor boundaries... I get the mouse-position with WM_MOUSEMOVE and stuff. Because of the requirement of no boundaries i have to use a different system of saving my Mouse Position. I want to save an absolute position of the mouse x and y. To calculate the x and y I want to get a relative mouse movement each frame. The idea is to reset the camera to a certain position und get the difference each frame. After that i want to reset the mouse. I want to reset the mouse position by SendInput() which uses the INPUT s ...Show All

  • Visual Studio Express Editions Is the VS 2005 Webbrowser really ready for prime time?

    I am trying to use the Webbrowser control that is available in VS 2005 C# Express (.NET 2.0) to automate navigation through a set of web pages programmatically. I've run into two situations where I cannnot access the OuterHtml property of an HtmlElement. Looking at the debugger seems to say that some kind of underlying exception occurs. 1. I want to select an item in a listbox on a web page by changing the OuterHtml of two of the member elements from: <OPTION value="default" selected> <OPTION value="mychoice" > to <OPTION value="default" > <OPTION value="mychoice" selected> The ...Show All

  • Visual Basic read text

    I am making a program that will need to use a configuration file. it will be a simple text file. I need to know how i can tell it to use the text in a file as a value in a hidden textbox in my app. Why do you need to load the variables into a hidden textbox In fact, why use a textbox at all There are other methods being encouraged, such as working with the Windows Registry. Here are a few websites you may be interested in: http://www.codeproject.com/vb/net/registry_with_vb.asp http://www.vbdotnetheaven.com/Code/Apr2003/004.asp Robert Hoath ...Show All

  • Visual C# UserControl Terminate or Close Event

    Does anyone know of an event for a UserControl that fires when the UserControl is closed by the user In VB6 there was a terminate event. In windows forms there is a close event. I haven't been able to find an equivalent. Thanks in advance for you help. Provided you are sure that the Dispose is being called on the user control when it is closed you could listen for occurrences of the Disposed event. Otherwise I’d have to suggest implementing your own event for your user control as I do not believe that there is a Closed or Closing event that is part of the UserControl. ...Show All

  • Windows Forms Disable editing in data-bound controls

    Hello, I have a .NET 2.0 windows forms application with some TextBox controls and a BindingNavigator on the form that are bound to a BindingSource. The BindingSource has a DataView as the DataSource, and when I change the DataView AllowNew or AllowRemove properties to true or false, the BindingNavigator immediately reflects the changes, enabling or disabling the Add and Delete buttons. However, I can always write on the TextBox controls, independently of the value in the AllowEdit property. Does anyone know how to enable and disable the editing on the controls in this situation Thanks in advance for any hel ...Show All

  • Visual Studio Very basic help question

    With regards to help collections in VS I noticed many threads that were not answered probably because the question has been answered before, or no one knows the answer. The very basic question is simple: Where can I find documentation on how Visual Studio 2005 links to the help collection I understand dExplore is a utility which acts as a shell for help. But, how does it detect installed help collections, etc. Thanks Eric Thanks for your inquiry and suggestion. I couldnt understand how DExplore linked to collections - because I was having issues getting it to 'see' the October 2005 MSDN Library. Howeve ...Show All

  • Visual Studio Team System Extending/customizing test data sources

    Hi, Sometime ago i was experimenting with creating a db test data generator. I abandoned it for lack of time but one of the features i was working on was a mechanism by which i could set up some standard data tables containing City names/codes, country names/codes, popular first names and surnames, public anonymous address lists etc so that these could be combined and used to generate more meaningful test data instead of a simplistic 'column1_1, column1_2' type of data. When the user chooses a table, the system would prompt them to associate columns with 'pattern sources' or 'prebuilt sources' such as the std tables. [This could also be ...Show All

  • Visual Basic Using C++ routines in a VB.net project

    I am converting a VB6 project that relies on a few simple .DLL commands to get around VB's inability to work with unsigned integers. VBnet seems to have the same constraint. Considering the whole .net framework, is there a way that I can rewrite these routines as a VC++ .net library and then link them to my VBnet program  It would be nice to get rid of the .DLL dependency. JDeas Although Visual Basic 2002/2003 does not have keywords (2005 adds keywords) for unsigned integers, it still does support consuming and declaring them using the System.UInt16, System.UInt32, System.UInt64 and System.UIntPtr types. ...Show All

  • Visual C++ Create an dll from existing c++ project

    Hello... I have a c++ project and want to use this in a c# program. So, I thought I could make a dll from this c++ code. But I didn't find the right solution at this moment. Maybe you can help me The c++ program consists of about 15 files (.cpp and .h). I think I have to remove the main method, but then ... In my c# programm, I want to call some functions of the c++ code... Regards, Jacquipre. Here is the whole picture. x.dll is a native VC++ dll of a third party (with code). I have to use this in my C# application. It has got a lot of classes and each are having large number of functi ...Show All

  • .NET Development Freaky socket problem - message goes to wrong socket?

    Hi, I'm really starting to freak out with all the socket problems I had the last couple days. Here's another REALLY odd thing: I have a server and connect two clients to it. Now the server SHOULD send messages to both clients and according to the log this is what is does. However, SOMETIMES, not always instead of one message being sent to both client sockets, the message is being sent twice to one of the two sockets I never had this problem before and only noticed it today. I don't know what I could have possibly changed that could cause such a behavior. Here's the code for the broadcast: [code] ...Show All

  • Visual Studio Express Editions LOADING FORMS FROM ONE MAIN FORM

    I WANT TO MAKE UP A NICE GUI FOR MY PROJECTS AND I WANT IT TO FUNCTION LIKE A MENU. HENCE I NEED TO WRITE THE EVENT LOAD FORM BUT I NEED TO LOAT SEVERAL FORMS INSTEAD OF THE ORIGINAL ONE BY CLICKING ON A DIFFERENT BUTTONS WHO CAN HELP ME hi, you can do this by doing something like this add a new form to your project, add buttons for each form you want to open it then in the code view you can start to write the code for each button to open particular form like this private void button1_Click( object sender, EventArgs e) { RichTextBox rtb = new RichTextBox (); rtb.Show(); } ...Show All

  • Visual Studio Express Editions Threading window

    Hi, why was the threading window disabled in the Express products Is it because hobby programmers are not expected to use multiple threads Or is it there and I have just missed it :) http://msdn2.microsoft.com/en-us/library/w15yf86f.aspx hi, i don't know what do you mean by threading window , but you can use threads by code also you can take a look to backgroundworker control System.Threading.Thread mythread = new System.Threading.Thread(new System.Threading.ThreadStart(MyMethod)) mythread.start() also you can take a look to backgroundworker control hope this helps ...Show All

  • Visual Basic program not responding when debugging

          I am new at VB 2003 and i run it on my computer. Recently i got myself a laptop  and installed VB2003 .Net on it. I copied the projects to the laptop, but when i try to run them by clicking on the start button (next to debug) The program does not respond anymore. Even when i start up a new project and try to run it, it won't react. What could be wrong Thanks for your reaction. Peter When i've made a new project, i want to see if it is working. I push the start button (next to debug) and then the program seems to be running, but in the lower part of the window i see that the program is running so ...Show All

©2008 Software Development Network