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

Software Development Network >> Rob McDonald's Q&A profile

Rob McDonald

Member List

Vretare
Netenrich
Christina M
Ali Gullen
Paul_G
Jim.C
chenthorn
Steven Mooses
Kyro
GaryJones
DJO
Tim_Tim
Padmav
Empy
doctorg
Satyendra Gupta
rknorp
hdb
Darren8669
JulianMarin
Only Title

Rob McDonald's Q&A profile

  • Visual C# abstract/virtual events

    If you have an abstract base class which has an event that children may implement, and none of the base class methods connect or raise the event, then what's the difference between declaring that event as either abstract or virtual I can't find much of anything in the docs about abstract or virtual events. An abstract method declaration provides no actual implementation, there is no method body; the me ...Show All

  • Visual Basic Can I access my form's dataset from my class declaration?

    I finally got my head around how to utilise my own classes, so I'm putting some together for my current project, to sit between the dataset and the main program. The problem I've encountered is when I come to access my dataset (attached to my form) from my class declarations, which are outside the form's class. I thought maybe Form1.Dataset etc, but even though the dataset is public, it won't let me do that. I suppose I might need to a ...Show All

  • Visual Studio 2008 (Pre-release) What is suggested architecture for distributed apps?

    Hi Distributed apps usually work like this: on first request to application server an entity is retrieved and send back to client, then it is edited by the user and in second request it is send back to server and updated in database. What is suggested approach to use DLINQ in such kind of apps. How can I instruct DLINQ to treat an instance of an object as modified not as new one in such scenario. In NHibernate for example I can specify ...Show All

  • .NET Development Year function in sql query

    I'm trying to add a field in query design SQL EXPRESS as follow SELECT Year([Created_Date]) as exp1 FROM Tablex or SELECT Datepart(year,[Created_Date]) as Years FROM Tablex Table comming from MSAccess I have donne in MSAccess many time without a problem , but I get an error in SQL what wrong , please help Error source:Microsoft Jet Database Engine Error Message:Undefined fun ...Show All

  • Windows Forms Problem inserting a new record with VB 2005 using a table adaptor and SQL 2005 Express

    I have a Windows form that is bound to a customer dataset.     The form displays a single customer record with text boxes for FirstName, LastName, Address, etc.    I created a Fill Query to accept a key field parameter and return the complete record.  When I use my SQL Fill command, passing it the key field (which is an identity field) , it populates the text boxes on the fo ...Show All

  • Visual C++ Conversion question: Marshal::PtrToStructure

    Hi guys, I am in the process of converting a derived VS2003 listview control to the new C++/CLI synatx. Here is the problem I have: NMHDR *h = dynamic_cast<NMHDR*>( Marshal::PtrToStructure(msg->LParam, __typeof(NMHDR)) ); When I compiled it, it gives me 2 errors: error C4980: '__typeof' : use of this keyword requires /clr ldSyntax command line option error C2440: 'dynamic_cast' : cannot convert from 'System::Object ^' to 'NsCtlLi ...Show All

  • Visual Studio Express Editions Registration is somewhat confusing

    I think I registered successfully but I haven't received a key, only a thank-you email. Does anyone understand exactly what is supposed to happen when registering Thanks. i'm having the same problem and i need to sort the key out as using the package for my studies just received 5 thank you emails and no product keys at all can anyone from microsoft shed any light on this issue ...Show All

  • SQL Server SecurityFilters in Report Model

    I am having trouble creating a filter to be used as a securityfilter in the report model. I want to filter data based on the users log in ID using the GETUSERID() function. I want to create a filter that would compare this LoginID field with GETUSERID(). Using Visual Studio and the ModelTutorial (based on the AdventureWorks database), I have tried by first selecting the employee table under the model, right clicking in the attribute area and sel ...Show All

  • Visual FoxPro How do I create a random table or cursor name?

    Hi all, I know that should be simple. How do i create a random table or cursor name and then use it I remember there is a function for this but i cannot find it! Could you please give me an example as well Thanks!!! Athan hi and thanks once and again for all your answers. I will have two different users on two monitors,keyboards etc by using a softwrae called betwin xp ( www.thinsoftinc.com  is the address) ...Show All

  • .NET Development How much using should i use?

    Hi,  firstly i started using the using keyword for connections. Later I found (if I'm right) that I can use it on DataReaders as well, without explicitly closing it... and now I have noticed that commands are also disposable, so should I use using ( SqlConnection con = new SqlConnection (connectionString))    using ( SqlCommand cmd = new SqlCommand (commandString, con)        using ( SqlDataReader ...Show All

  • Visual Studio Team System Lost Source Control Output Window in RTM

    I've seemed to have lost the source control output window using the RTM version of TFS. It was there at one time but no longer present. After opening my VSTF bound solution, nothing is in the "Show output from:" combo box in the Visual Studio 2005 output window. Can someone help me get back the "Source Control - Team Foundation" item Thanks. An interesting twist - If you install the VS ...Show All

  • Visual FoxPro like command

    hi again,i have the below simple line of sql code local temp temp=thisform.TextBox1.Value SELECT costomer from customertable; WHERE costomer_description LIKE temp the command works perfectly and i get the results in a new vfp window. is there a way to change the command in such a way so that i get the recno of the result.the reason is because there is already a grid on the form and i guess that if i had the recno from the select command i could ...Show All

  • Windows Forms Format to Uppercase in a DataGridView.Column

    I want to Format to Uppercase in a DataGridView.Column. I used DefaultCellStyle  property and put > on it but nothing changed. I don't know what is wrong. Please help me ! Thanks in advance ! Thank you for your answer. I did this before but I recived an error message: Message= "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an i ...Show All

  • Visual Studio Team System verify WSS permissions

    after making it through a couple of 32000 errors and reinstalling everything in the correct order, I now got VSTFS to install successfully. now when I try to connect to the TFS server using TFS client I get "You are not authorized" errors.   based on what I have seen in this forum I think the permissions in WSS are not correct - I am able to connect to http://localhost as well as the Reports and ReportServer sites. I would really like ...Show All

  • Windows Forms Trigger fill dataset from other form

    Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in&n ...Show All

©2008 Software Development Network

powered by phorum