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

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

Ultimate

Member List

SJ100
mobigital
NetPochi
Mark A. Richman
cpaesano
Vijay R
Laszlo Vegh
Jessica Alba
coppertopuk
Luis Simões
vlamak
Arjan Ligthart
Sqnyy
saAction
95five0
Mitch Wardrop
LANengineer
gtjr92
lfnovo
Ben Vanik
Only Title

Ultimate's Q&A profile

  • Visual Basic Passing things from Form1 to Form2 and back

    Hi everyone ! Imagine this : I have 2 Forms: Form1 and Form2 Form1 is the startupform and holds a button, Button1 , to show Form 2. Code: Dim F2 As New Form2 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click F2.Show() End Sub On Button1_Click an new Form2 is shown. Form2 holds a button wich should change the text of Form1: Code: Dim F1 As Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click F1.Text = "hello" End Sub This gives the result : Object reference not set to an instance of an object. I know i ...Show All

  • Visual Studio 2008 (Pre-release) databinding with a nullable value

    Hi, I'm trying to bind a property to a combo box wich in the initial state has a nullable value. When I do so, the databinding doesn't work anymore, if I select a value in the combo box it doesn't refresh the property. At first I thought it was my code, but if in the initial state of the property the value is not null, it works fine. Is there a property for the combo box that I forgot The following scenario seems to work fine, cb1 is bound to list of objects one of them being null. when I set cb1.SelectedValue = null. it selects null Item in the coombobox. when I enter something in the textbox, correct Item is selected in the combobox < ComboBox SelectedValuePath = " Id " Display ...Show All

  • Visual Studio Express Editions MessageBox Support for a fucntion in a seperate .cs file

    I added a file called Myfunctions.cs to my project and inside that file I have this using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using MySql.Data.MySqlClient; public static MySqlDataAdapter CreateCustomDataAdapter( object sender, EventArgs e) { MessageBox.Show("Inside Your function"); } however, It will NOT see The MessageBox.. The auto code typer thing.. and here is the ERROR Error 1 Expected class, delegate, enum, interface, or struct C:\Documents and Settings\Mick\My Documents\Visual Studio 2005\Projects\MNP Version 0\MNP Version 0\MyFunct ...Show All

  • Visual Basic Null Reference Exception

    I am having a problem with a multi-form application I am writing in VB .Net 2003. When I transition back from one form to my startup form, I get an intermittent Null Reference Exception. Sometimes it will work, moving back and forth from form to form with no problems for 15-20 minutes, and sometimes it will crash everytime. I have tried putting a try-catch block around the instantiation of the main form. It does not catch anything. The exception points to line 2 of the startup form, which reads: Public Class frmWelcome Not much to cause a problem there, I would have thought. I am attaching the code for bringing up the welcome screen in hopes that someone will see something I am not thinking of. Try Dim welcome As New frm ...Show All

  • Visual Studio Express Editions question about my threads

    Hello. this may be an unusual question, but i was wondering if I can delete my threads, or do I use the unsubscribe button Its just that av got quite a few threads and all but this and my last thread have been answered and a thought it might free up some space in here by removing the threads thats been answered and finished with. Thank you. ...Show All

  • SQL Server Navigation buttons

    Is there a way to add the navigation bar with next page, previous page etc buttons at the bottom of the report. If the report is long the users dont want to scoll up to click on next page. There is no easy way to accomplish this. It can not be done in Report Manager. If you are writing your own web app you could do this by writing your own tool bar, but it would require quite a bit of code. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Course at my local community college

    I just got a flyer in the mail about a non-credit course my local college (Miami Dade College) is offering. Its bout 4 saturdays, 3 hours each. $339. Game Development: XNA Game Studio Express - $339.00 Pre Req - N/A XNA is targeted at students and hobbyists for game development. XNA Game Studio lets developers target both Windows and Xbox 360. You will learn:Visual Studio C# Programming Basics, Network Play basics, input control basics, and Sound Basics;2D Sprites versus 3D game creation, using 3rd Party gaming engines; The XNA Framework, a set of managed code development libraries that make it possible for game developers to be more productive when creating games for Windows and the Xbox 360;The XNA Framewor ...Show All

  • Windows Forms "Foreign" msi files in a Setup project

    Hi there: Quick question: my application uses SMO, and I need to install that on the user's machine. I got the download from Microsoft in the form of a .msi file (the Microsoft SQL Server 2005 Management Objects Collection download from http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en ) . Is there any way for me to incorporate that msi file into my setup project I tried going through the prerequisites (I already have .Net 2.0 and Sql Server Express in there), but it is not dynamic enough to allow that. I could try and package the SMO assemblies one by one (the dlls were already added as dependencies), I'm just not sure how to force them to be installed in the correc ...Show All

  • SharePoint Products and Technologies Reorting Services and MOSS 2007

    Hello Can someone point me to an article on how to hook up MOSS 2007 to reporting services installed on another box Thanks Hi Ray, The results of my efforts are recorded on the thread SQL2005 SP2 Dec CTP Sharepoint AddIn install problem HTH Martin ...Show All

  • Visual Studio Team System Converting VSS API scripts to TF

    We currently have a build script using VSS APIs. As we are planning to switch to Team Foundation Version Control, we are wondering if a similar API exisits for Team Foundation Version Control and whether the current script can easily be converted. Hi Maggie: Also make sure to download our SDK and visit the OM help pages that are located in it, they will provide additional information on the classes and methods. thanks, mario ...Show All

  • Software Development for Windows Vista Can DataExchange service hold variables?

    I would like to know whether "LocalCommunicationServices" could have a .NET property to hold data returned from within the workflow .This way the host can get hold of this property and tap the data out instead of using events where the same activity would raise a custom event and the host would recieve the data through the events arguements.(This is a long way of getting things done.....). The doubt is whether the information on this property is volatile especially when whe have our runtime hosted in a webservice and caters to many client calls. Thanks in advance.... There is not interface or abstract class to implement for a data exchange service, only the ExternalDataExchange att ...Show All

  • Visual FoxPro Philadelphia VFP User Group--January 10, 2007

    The Philadelphia Visual FoxPro user group will meet Wednesday, January 10 at 7 PM. Location: Valley Forge Pension Management, 715 Twining Road, Suite 202, Dresher, PA 19025. As usual, you can bring a dinner and arrive as early as 6:30. Speaker: Tamar E. Granor Tamar E. Granor, Ph.D. (Tamar Granor), is the owner of Tomorrow's Solutions, LLC. She has developed and enhanced numerous Visual FoxPro applications for businesses and other organizations. She currently focuses on working with other developers through consulting and subcontracting. Tamar served as Editor of FoxPro Advisor magazine from 1994 to 2000. She is the magazine's Technical Editor and co-author of the popular Advisor Answers column. Tamar is author or co-author of nine books ...Show All

  • Visual C# Object reference confusion.

    I have a simple function located in Class2.cs - an auxiliary file for Form1.cs (Console Application in VS2005). It take one parameter: string. This string is supposed to serve as a switch for selecting the right string to build. public string getConnStrings ( ref string switched ) In the calling function I call the function in question as: string switched = "1"; string str1 = Class2.getConnStrings (switched); // or (ref switched); I get this error: Error 1 An object reference is required for the nonstatic field, method, or property 'tapTCPports_1.Class2.getConnStrings(ref string)' D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1231 21 tapTCPports_1 When I placed the function getConnStrings into the ...Show All

  • SQL Server SQL Server 2005 Security:

    Hi I have a sitaution where I have domain admins logging on to SQL SErver and automatically accessing SQL Server as syadmin. Here are the steps I am planning to take to fix this problem! 1. Create a a non administrative domain account called SQLDBA and add it as sysadmin on SQL Server. 2. Make sure the SQL Services are using a special account called SQLServices non administrative domain account with Log on as service rights and added as a sysadmin on sql server. 3. Remove the builtin\administrators from sql server The way I envision this is anyone who log on with a domain admin acct will need to specially log on to sql server with a restrictive sql login instead of how they use to automatically get logged in. Are there an ...Show All

  • Windows Forms Making a second non dialog form active

    Hi I have a main form which then creates and shows a second form. I want this second form to be the active form with the title bar highlighted. If I use ShowDialog to display the second form all is ok. However I want to show it non modally so use Show. However this shows the second form but does not then activate it The title bar of the first form stays highlighted. I tried using Activate but that suprisingly did not achieve it either. Steve Ahh yes, the good ole constructor. Rather than trying to do everything there (which you’ve already found can be tricky)... wait for one of the events that fires after Load such as Activated so that when Form1 is activated for the first time you are s ...Show All

©2008 Software Development Network