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

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

DonMartin

Member List

Mongsreturn
PabloVista
JohnSLG
FredZilz
JJ77
barkingdog
Eric123456
simmons
Uturn
brad0999
Def
SunilN
kuankuo123
cbitting
Shanewho
Johnny Ashcan
jk67
brother14th
#pragma
bkustel
Only Title

DonMartin's Q&A profile

  • Visual Studio Express Editions How to SUM column data

    Hello, The result of a query in TableGridView looks like this: Location Number1 Number2 Thanks again, Inserted your line (it would not take without " Me .Database1DataSet" ---------------------------------------------------------------------------------------------- Private Sub Find_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Find.Click Try Me .Table1TableAdapter.FillBy( Me .Database1DataSet.Table1, LocationComboBox2.Text) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try Dim result As Integer = 0 result = Table1BindingSource.Count If result > 1 Then Me .DataEntry.SelectedTab = TabPage4 ...Show All

  • Visual Basic making " in codes

    hey im getting lazy with my webdesignen and i want to write my own program to make some codes from user defined options.. my only problem is this: webdesign basiccaly contains a lote of " (qoutation marks) and that will end the string typing.. sa how do i make it write: head.Text = "<script language="javascript">" without stopping the string at javascript please help me. //Martin Hi, you could use single quotation marks for that (single quotation marks work fine with html): head.Text = "<script language='javascript'>" or escape double quotation marks by doubling them: head.Text = "<script language=""javascript"">" Hope this helps, Andrej ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. simple projectile motion physics??

    im pretty new to gamedev, so simulating physics is new to me too. i know the projectile motion formulas, im just having trouble applying them. is there any "tutorial" on projectile motion physics for XNA basically, someone suggested to do "scorched earth". im trying to get the hang of just some simple projectile before i apply it to a game. i know i should basically have to just enter the initial velocity vector and the angle. then have it passed to a function that gets the initial x velocity, and initial y velocity. also, im assuming that whatever i get for y-velocity should be negative as "up" is negative in the XNA graphics. then, after each update, it should find the current change in position for x and ...Show All

  • Windows Forms application manifest errors

    I'm getting the following error message at on one of my customer’s pc when installing an update to a deployment. All of my other customer’s are working fine. Has anyone experienced this issues or has seen this message "Reference in the deployment does not match the identity defined in the application manifest" Here's Microsoft’s explanation. http://msdn2.microsoft.com/en-us/ms229001.aspx I also saw somewhere in the past, that you needed to deleted the local internet cache on the client’s pc which was done. I've also uninstalled the click once app using add/remove programs. So I guess I'm not sure what to do. Here's the actual error: Reference in the deployment does not match the identity defined in the application ...Show All

  • Windows Forms Can I unsign a ClickOnce manifest

    Without breaking the projects and having to reinstall the app. David, My certificate (VS test certificate) will expire soon and I am too looking to avoid uninstalling and reinstalling the application. When I update an application I simply replace a new *.exe for the old one. Will this cause the application to not run and do I have to create a new test certificate and re-install the whole application Will the application stop running after the certificate expires even if I don't do an update Thanks, Jerry ...Show All

  • Windows Forms Where Is Select Event of ToolStripMenuItem

    In .NET 1 I use MenuItem.Select Event to show menuitem description on the status bar as described in this article: http://msdn2.microsoft.com/en-us/library/system.windows.forms.menuitem.select.aspx Private Sub MenuSelected( ByVal sender As Object , ByVal e As System.EventArgs) _ Handles menuOpen.Select, menuExit.Select, menuSave.Select If sender Is menuOpen Then StatusBar1.Panels(0).Text = "Opens a file to edit" Else If sender Is menuSave Then StatusBar1.Panels(0).Text = "Saves the current file" Else If sender Is menuExit Then StatusBar1.Panels(0).Text = "Exits the application" Else StatusBar1.Panels(0).Text = "Ready" End If End ...Show All

  • Visual Basic Passing variables between forms

    My program has several forms in it. There is a form that has some buttons and when i click each button i want text to generate from that button to a textbox on another form. If you know anything about this i would appreciate it. Thanks!! You could use events, but here is an illustration using a reference to the main form. ' Has only a textbox - Textbox1 Public Class MainForm Private Sub MainForm_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim frm As New SecondForm( Me ) frm.Show() End Sub End Class ' form has one text box (Textbox1) and one button(Button1) Public Class SecondForm ...Show All

  • Visual Studio 2008 (Pre-release) Required or optional fields.

    I have a data contract that looks like: private string _BasketIDField; [ DataMember (IsRequired= true )] public string BasketID { get { return this ._BasketIDField; } set { this ._BasketIDField = value ; } } But when I generated the proxy for the client I see: [System.Runtime.Serialization. OptionalFieldAttribute ()] private string BasketIDField; [System.Runtime.Serialization. DataMemberAttribute ()] public string BasketID { get { return this .BasketIDField; } set { this .BasketIDField = value ; } It seems that the "IsRequired" on the property is getting ignored. One other indication is that I get an exception ...Show All

  • .NET Development Naming rules for a base namespace in a Class Library

    I am building a Class Library for use with a number of applications within my company. I am debating how to name my base namespace, i.e. the one that contains all the base/fundamental classes, enumerations, event handlers, etc. Right now I have named it [My Company].System Is that a good idea One thing I don't like about it is that it duplicates the System namespace. According to Microsoft guidelines it should be Company.Technology.ApplicationName. Also check out the following book http://www.amazon.com/Framework-Design-Guidelines-Conventions-Development/dp/0321246756 by Brad Abrams & Krzysztof Cwalina. Its a great read and written by the people who mamange the BCL at Microsoft H ...Show All

  • .NET Development Graphics object for printing

    Hi, I am trying to calculate the number of pages in a print document in order to update the PrinterSettings.FromPage and PrinterSettings.ToPage before the PrintDialog is opened. I know how to calculate the number of pages, but I need a graphics object. The problem is that I don't have a reference to a graphics object until the PrintDocument's PrintPage event is fired (which occurs after the PrintDialog is closed). Which graphics object should I use Any help would be appreciated. Lee I wrote a rendering engine that operates in three modes. In draw mode is draws pages on the screen. In paint mode it paints to a graphics object. In prepare mode it just returns a collection of page objects that desc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "The project type is not supported by this installation." with Beta 2

    I've installed VC# Express (side-by-side with my VS Std) and then XNA Game Studio Express Beta 2. When I start a new project I can see no XNA templates, though. When I try to open an existing example (built with beta 2) I get the error message "The project type is not supported by this installation." I've not had XGS beta 1 on this machine. I've tried uninstalling both XGS and VCS and reinstalling to no avail. Please help. How can I get XGS to work /Mikael It's amazing how you sometimes find the obvious answer when you're forced to explain the problem to someone else. Your questions about the installation got me thinking (about time too!)... There was no trace of GSE on the Start Menu. Could ...Show All

  • Commerce Server Commerce Server 2007 Shipping Options

    Hello, I am trying to figure out how to get shipping rates including the price and MaxLimit (the data from ShippingRates table). I can get the shipping method data by using the ShippingMethodHelper.GetShippingMethod() method, but I can not figure out to get the child data from ShippingRates table. Please help. Thank you, Dmitry Hi Dmitry, You cannot get the ShippingRates from the runtime side - this information is pulled from the DB when the pipelines are run. Instead you can use the Management APIs to get this info for e.g. the ShippingMethods property for all the active ShippingMethods in the system: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sdkmref/html/P_Microsoft_CommerceServer_Orders_ ...Show All

  • Visual Studio Express Editions I need help. Labyrinth type help system of VB Express could not help me at all

    Somebody please tell me regarding a query result how to: Programmatically go to a specific row and retrieve the value in a particular column and send it to a variable. Key Words: Visual basic express, Windows application, SqlSever, Local data, Using TableAdapter, Not using binding objects. Thanks Dear DMan1; Thank you for your prompt response. As far as understand your guidelines to solve my problem suggests that for extracting every single value from a tabular data I should run a new query. I would be grateful if you write guidelines for the following problem as well; For the query result in below: SELECT Min (Field1) AS Expr1, ...Show All

  • Visual Studio Express Editions another variables in seperate forms question

    ive got another 2 question about this "variables in seperate forms" ive already got some variables working across 3 forms (setup,game,endgame) but some are not working 1. this section was added to form game just after declorations just like with setup form Public Property gscore() As Integer Get Return Me .score End Get Set ( ByVal value As Integer ) Me .score = value End Set End Property then this to endgame Label1.Text = setup.name Label2.Text = Game.gscore when run label2 always shows 0 but label1 shows the name correctly despite game form shows 200 or whatever what have i missed 2. i put a bonus round in that "should" reset most variables other ...Show All

  • Windows Forms Hosting the designer

    I don't know whether hosting the Windows Forms Designer is the best solution for me, but before I dive into the topic more deeply, I would like to get an overview of what is possible. The program I develop should be able to switch to some kind of design mode, so that specific controls (some buttons, a listbox) can be resized or moved around on the form by the user (The form itself should not be editable). I would like to know whether this is possible to implement by hosting the Windows Forms Designer. Another approach would be to implement some of the behaviour myself, although I'm not quite sure about the best way. Some thoughts: I could derive from the standard button and provide a design-time button that enables the editing functionalit ...Show All

©2008 Software Development Network