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

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

RJB84

Member List

Kris M.
jiggs
Rick Strahl
english_d
Tom Phillips
nate-d-o-double-g
eagIe
enric vives
ks2006
gray-82
papiens
cmumford
amicalrahul
Imran Hameed
enric vives
mark.b
Badri Narayanan
SSlovensky
m ghandour
Uggywuggy
Only Title

RJB84's Q&A profile

  • Visual Basic Combobox Question

    Heres access for you! How do you retrieve (dont let me loose you here) I am used to me.combobox1.column(2) to retrieve data from the third column in a record I noticed that either it doesnt exist or it is name something different How would you retrieve data from a record from 3 columns over from the first Davids Really Learning I did some reading, tried a few things and I still just havent had any luck(maybe its the heat,I dont know its a toasty 103F, I have to bounce around here inside/out, check on people and learn this at the same time). Not making excuses! anyhow I tried this I set my datasource of the combobox to MyTableBindingSource I set the DisplayMember to a field in ...Show All

  • Smart Device Development DateTime Problem

    Iam using a Datetime in my database. I want the data to look like this 2006-10-15 00:00:00.000 But now I get it like this 2015-06-10 21:58:14.000 Iam creating a DateTime with this code: int Year = int.Parse(dateTimePicker.Value.Year.ToString()); int Month = int.Parse(dateTimePicker.Value.Month.ToString()); int Day = int.Parse(dateTimePicker.Value.Day.ToString()); int Hour = int.Parse(dateTimePicker.Value.Hour.ToString()); int Minute = int.Parse(dateTimePicker.Value.Minute.ToString()); int Second = int.Parse(dateTimePicker.Value.Second.ToString()); int MilliSecod = int.Parse(dateTimePicker.Value.Millisecond.ToString()); DateTime SelectedDate = new DateTime(Year, Month, Day, Hour, Minu ...Show All

  • Visual C++ DDK functions link error (error LNK2019: unresolved external symbol )

    Hello. I have new other link errors due to probably ddk functions... Please see below the link errors. I made sure that files containing the declarations are included in the project, but no definitions in the project because they are ddk functions. Also, I included <ntddk.h> and <header_file_having_declarations.h> in the file and set the path in Additional Include Directories as well as Additional Library Directories. What is problem I hope your help... Thank you.   System Environment: Windows XP Prof. SP2 MS Visual Studio 2005   Errors: A few Warnings... ... Compiling resources... Linking... Detect.obj : error LNK2019: unresolved external symbol __imp__ZwClo ...Show All

  • SQL Server looping through table tom exec an SP many times

    Hi, If i have an SP called mySP that accepts one parameter @param If I have a table of paramaters with only one column like this: Param1 Param2 .. ParamN How do I do if I want to execute the SP on all the table fields: some thing like this: Exec my SP 'Param1' Exec mySP 'Param2' ... Exec mySP 'ParamN' I want that automatically since the parameters are going to be in a table called myTblParams Notice that I don t want to pass all the parameters to the SP just once but only one value each time I execute the SP since mySP ccepts only one parameter. Thanks a lot for guidelines I tried this code as per your suggestion but i didn t get the result, i got nothing returned: declare crsMyTblParams2 cursor for declare @param ...Show All

  • Windows Forms using for each

    how do i use for each like that Array.ForEach( Me .ds.Tables( Me .tb1name).Rows(i).GetChildRows(relationname), _ ) now i want to compare fields amount in both tables.. there is relation, but one table contains the sum(amount) and one contains each record. . so i want to chek if all rows amount in grid1 is equal to their respective amount rows sum in grid1 .. Basically how do i iterate parent, children tables most efficiently the relationshion is straight forward like this. : i need to compare each row in table 1 on to all its child rows in table 2 ds.Relations.Add(relationname, _ dt1.Columns( Me .CostingDataSet1.Bill.multiplicityIDColumn.ColumnName), _ dt2.Columns( Me .CostingDataSet1.Bill.multiplicityIDCo ...Show All

  • Visual C++ Visual Basic Express + PostGres

    Hello again huge comunity. How can i connect to a postgresql data base on a local server.. (or extern.. but that's not the point..) using visual basic express 2005 ... I read an information on a "Visual Basic Step by Step" book about Ado.net, but, y saw an image that show an ODBC driver provided in the datasources.. but.. umm.. visual basic express 2005 do not have it. I heared about npgsql, but.. there's not a more direct way including somehow and odbc driver in vb express or do i have to get the comercial copi of visual studio 2005 .. and... if ODBC is the way.. in this case what's the step to folow .. Thanks a lot, and sorry, if you're to busy.. The Express Edition can only connect to SQL Server Express a ...Show All

  • SQL Server To get accuracy in DATEDIFF

    Hi, My problem is the following query returns just -1 SELECT DATEDIFF(YEAR,N'03/31/07',N'01/30/06') I need it to say -1.02 or whatever the correct result is I tried CAST and CONVERT but no use. Any clue Thanks, Fahad Get the difference in months or days and try. SELECT DATEDIFF ( M , N '03/31/07' , N '01/30/06' ) / 12.0 ...Show All

  • Visual Studio June '06 Smart Client factory guidance throwing exception

    Hi, I recently downloaded and installed the June '06 SCSF. While installation seems to be fine, when I try to use the guidance package, it throws the following exception: Microsoft.Practices.RecipeFramework.ValueProviderException: An exception occurred during the binding of reference or execution of recipe AddAsyncWebServiceProxy. Error was: An error happened while calling the value provider or evaluating the default value of argument CommonProject.. You can remove the reference to this recipe through the Guidance Package Manager. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Practices.GuidanceAutomation.SmartClient.ValueProviders.GetProjectFromGuidProvider.OnBeginRecipe ...Show All

  • Visual Studio Team System Schema Compare Problem #5

    I am comparing a Database to a Project. One table is showing up as being different. Here is what DBPro reports as the difference: In the Database: [DefaultPerformanceEmailText] [nvarchar] ( max ) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , In the Project: [DefaultPerformanceEmailText] [nvarchar] ( max ) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_HumanResourcesPolicy_DefaultPerformanceEmailText] DEFAULT ( '' ), When I click the 'Write Updates' button to synch my Project, DBPro says everything was successful but when I do a recompare, this same difference reappears. DBPro is not removing the constraint. Thanks - Amos. Hi Amos, just as another thoug ...Show All

  • Windows Forms Accessing parent Form from a thread

    Hello, I have a winforms application with a bunch of user controls such as buttons, richtext boxes etc. I'm creating a thread on the click of a button and the thread spawns off and does a few tests in the background. I need to provide the user a status of whats going on with the thread, so I decided to update the text box from within the thread. Here's my code for spawning off the thread - // Run Thread Perfmain ^mgEx = gcnew Perfmain( "NULL" , "NULL" ); Thread ^mgethr = gcnew Thread( gcnew ParameterizedThreadStart(mgEx, &Perfmain::mgExistsThread)); mgethr->IsBackground = true ; mgethr->Start( ); Obviously, since I'm creating a new object for my form, all output is directed to the new objext mgEx. M ...Show All

  • Visual C++ Reading from VB random access files to VC++ UDT?

    I have a file that was written-to using VB (direct access file). I know the exact structure of the record that was written in VB. I want to read the file out into a VC++ user data type Can someone tell me how it can be done There is not any format of direct access files that is provided by the VB language, so it does not help us help you to know that it is a direct access file created by a VB program. Also, C++ programmers don't use the term UDT for C++ data. That is not important to the extent that I understand what you mean. It is important to the extent that the terms that C++ programmers are indicative of the solution you seek. In C++, you might use a struct or class . They both are nearly the same. A ...Show All

  • Visual C++ using visual C++ as C programming IDE?

    Hi all: I am wondering can I use Visual C++ for C program IDE. It seems to me that Visual C++ does recognize C program, but when I am going to create a project for C using Visual C++, it has no option for a new C project. Also, if it can, is it a good idea to using it as a C programming IDE Thanks!! While the IDE does not have an option to create a C project you can use any C++ project and then add *.c files to it. The IDE knows the difference between *.c and *.cpp (and *.cxx and *.cc) files and will invoke the C compiler instead of the C++ compiler. ...Show All

  • Visual Studio 2008 (Pre-release) Elements of FlowDocument being clipped

    I'm dynamically populating a FlowDocument with some elements that have an overlaying menu when being moused-over. The menus overlay other elements in the document just fine, but when the element being moused-over is at the top of the document, its menu (which appears over the top of the element) is clipped by the top of the FlowDocumentReader or the FlowDocument that contains it.   Not sure exactly how to get around this as I've tried to set ClipToBounds="False" and it had no effect.   Anyone have an idea of how I can get around this   Thanks for any help! ...Show All

  • Windows Forms Combo box autocompletemode

    I have a databound combo box with its autocompletemode property set to "suggest" and its autocompletesource property set to "ListItems". When the user closes the form the following exception is thrown: Cannot bind to the property or column LastName on the DataSource. Parameter name: dataMember Any suggestions as to how I can work around this exception Thanks for your help. Ken McLean ...Show All

  • Visual Studio Tools for Office C#: Reading a value of a checkbox created with the Control Toolbar

    Hi, I am trying to programmatically read (using C# ) the value of a checkbox located within a Word document. It appears that the checkbox had been created with the Control Toolbar (as opposed to Forms); as a result, Document.FormFields collection is empty. I believe that I need to be somehow utilizing the InlineShapes collection to access it, however, so far I've been unable to find a way to see if the checkbox is checked or not. Any help would be appreciated. Thanks, Roman Is this a VSTO project Which version of VSTO If it's not VSTO, then you should be asking in the office.developer.automation newsgroup. And you need to make sure whether we're dealing with an InlineShape, or a Shape. When the documen ...Show All

©2008 Software Development Network