Landon Parks's Q&A profile
Visual Studio warnings when I try to create guidance package
I get errors and warnings of this kind when I tried to create a Guidance package using the GAT SDK. Message 17 Could not find schema information for the attribute 'ReferenceType'. C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\MyGuidancePackage\MyGuidancePackage.xml 27 7 MyGuidancePackage Warning 5 The element 'Recipe' in namespace 'http://schemas.microsoft.com/pag/gax-core' has invalid child element 'include' in namespace 'http://www.w3.org/2001/XInclude'. List of possible elements expected: 'DocumentationLinks, Types, Caption' in namespace 'http://schemas.microsoft.com/pag/gax-core'. C:\Documents and Settings\sanjukta_dan\My Documents\Visual Studio 2005\Projects\MyGuidancePackage\M ...Show All
.NET Development copying files between folders on file servers
I'm currently doing a project and I want to look for filenames containing the value the user enters after clicking the submit button, and copy these files from one network directory to another network directory. I don't have a clue how to do this, can anyone help examples were above ;-) if we have a directory called "Marc" and in it we had "folder 1, folder 2): Marc folder 1 folder 2 so, to get a list of directories in a directory: string [] theDirectories = Directories.GetDirectories( Path ); Path would be "Marc": string[] theDirectories = Directories.GetDirectories("\\ \\Server\\Marc "); would return me: \\Server\Marc ...Show All
Visual Basic What is wrong with the ComboBox !!
Hi all, I am writting very simple event for the ComboBox... but my msgbox displays nothing. kindly have alook at my code. Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) 'Handles ComboBox1.SelectedIndexChanged If Me .ComboBox1.SelectedIndex <> -1 Then 'MsgBox(Me.ComboBox1.Text.ToString) MsgBox( Me .ComboBox1.SelectedText.ToString) End If End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn As New Data.OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\MaHMouD\Deskt ...Show All
SQL Server SQLCE - Getting started Questions....
I am trying to soak in all this information regarding SQLCE and was hoping someone could set me off in the right direction. Scenario: I have an Windows Mobile 5.0 data collection application that I need to sync with a desktop database. I will need the ability to sync 1 or more Pocket PC's with a desktop database. Questions: 1.) Assuming I need to sync the data, is using a SQLCE database on the device AND the desktop a viable solution 2.) If not, would my only other option be to use SQL Server Express (SQL Server is not an option, $$$) 3.) Keeping simplicity in mind, what would be my best choice of syncing technology RDA Merge Replication Microsoft Synchronization Services for ADO.NET Generally speaking, I want to know if YOU were sta ...Show All
Visual Basic Use the DataGridViewCheckBoxCell Class
hello; filled (coming data from db) to datagridrew.. added (a single think) checkbox to datagridview.. problem; cant get(data has elected checkbox) fom db..also added two button firstly,you choose the whole of checkbox after you cancel all of checkbox but how nterragate to( checkbox of choose of user) from db the checkbucks are must choose the user wants result of all of checkbox may be elected or a few chexbox may be elected by the user for this matter(problem,) can you help me... rubin2001, The description of your problem confused me. I guess you want to show the related data in the DataGridView when the user choose one option in the CheckBox. Am I rihgt I suggest you to use the DataGridViewChe ...Show All
.NET Development Update multiple records in a dataset using a query
Hi, I have ASP.Net 1.1 application. It contains a form that has a Dataset that contains one table " Orders ". It contains the below fields OrderNumber OrderDate OrderSequence OrderSequence is a sequence number from 1,2,3........... I display the Orders in a datagrid using Orders dataset as source (Sorted by OrderSequence) .The datagrid contains a Textbox displaying the OrderSequence column. I am trying to implement a mechanim=sm that will allow the user to change the sequence of the Order to allow him to move the Order up and down the sequence. When the user changes the OrderSequence , I want to change the OrderSequence in all the Order rows. For e.g. if the user changes the OrderSequence of a row from "20" to "10& ...Show All
Visual C++ How to access a program ported from C from other .net project?
Hi, I am pretty new to C++ .Net and I need help on how to let my .Net programs accessing functions ported from a C program. What I have now is a solution that contains two projects. The first is a C++ .Net class library project and the second is a VB.Net project (doesn't have to be VB, it can be any other .net languages). What I need is to have the VB test program call functions from the C++ program. The C++ project is created by porting an existing C program. What I did was that I created a class library project using the C++ wizard. Then I added my existing C program (without any change at all), MyLib.c, into the project and removed all those generated files that I don't need. After fixing some issues, now I have the project co ...Show All
SQL Server Reading Records from Excel File
Hi all, Whilst reading in records from an excel source via the SQL command method I've stumbled across a problem. my SQL query takes in all records where the date column is not NULL, this ensures that only populated rows are obtained. If the date is in a format that is incorrect i'd really like the whole data flow to fail. However... What seems to happen is that any rows with a fault in the date column are just missed out and not pulled through the pipeline. I have tried changing the error output from fail component to ignore error and redirect row but nothing seems to catch it. Does anyone have any suggestions as to why this may be the case Many thanks, Grant Hi Douglas, Thats exactly what i was needing ...Show All
Windows Live Developer Forums a simple question - I hope!
Hi, I was wondering where I can see the standard icons we can use for pushpins There is athe default and a red circle with a number in but what else is available Thanks martin ...Show All
.NET Development Difference between 'string' ans 'String'
Hi all, I am new to this forum. I have a basic doubt regarding the System.String class. Can anyone tell me what is the difference between "String" and "string". Thanks in advance.......... Exactly, look at this code and the resulting IL. static void Main(string[] args) { String foo = String.Empty ; string foo2 = string.Empty ; } IL of the above code. .method private hidebysig static void Main(string[] args) cil managed { .entrypoint // Code size 13 (0xd) .maxstack 8 IL_0000: ldsfld string [mscorlib]System.String::Empty IL_0005: pop IL_0006: ldsfld string [mscorlib]System.String::Empty IL_000b: pop IL_000c: ret } // end of method Program::Main ...Show All
SQL Server easy (hopefully) matrix question
I'm working with a matrix in the designer and noticed I need to add a new row in between two existing rows. When I right click and choose add row a row is added at the very bottom of the matrix. What's the easiest way to add a matrix row to the middle of a matrix, one that doesn't include editing the rdl directly. thanks Thanks for the response! I can insert a row below the first row but every other row is missing that white line that indicates I can insert. Can you insert between every row or just between the first and second rows ...Show All
SQL Server Newbie Question
Hi Guys, I am new to this Reporting Service world. May be its very simple question. I have create a report in SQL Server 2005 reporting services and want to link this report with aspx page. How I do this. Just want to link report with default.aspx page so when this page open report also open automatically. Please let me guide how could I do this. Regards Hi Guys, Please ignore my previous email. I have fixed the above issue. Now I don't know how to pass a parameter value to a report. I wrote the below line in my aspx page and when I ran this application it gives me a error message "The rDate parameter is missing a value" Below is the code that I wrote in my page_load ...Show All
SQL Server Sql query for Master Detail Record in One Row
I am having a table contains Nurse Detail like nurseid 1 address fname last name phone another table contains the exp detail in 28 different type of speciality nurseid specialiity year Exp. 1 icu 4 1 ccu 5 1 OPD 2 i need to display the record in datagrid as nurse Name ExamPassed Address MostExp SecondMostExp 1 toefl abc, india ccu icu if i use the select query to find the top two inside a datareader which collect the info. about each nurse this takes lot of time to complete this and many times gives Timeout error about(50%) is there any code to combine with the urse detail records as a column for speciality one and two. any stored procedure / se ...Show All
SQL Server using Output clause and return timestamp and return value
I am trying to bring my stored proc's into the 21st century with try catch and the output clause. In the past I have returned info like the new timestamp, the new identity (if an insert sproc), username with output params and a return value as well. I have checked if error is a concurrency violation(I check if @@rowcount is 0 and if so my return value is a special number.) I have used the old goto method for trapping errors committing or rolling back the transaction. Now I want to use the try,catch with transactions. This is easy enough but how do I do what I had done before I get an error returning the new timestamp in the Output clause (tstamp is my timestamp field -- so I am using inserted.tstamp). Plus how do I check for co ...Show All
Software Development for Windows Vista July CTP Cardspace problems - Cannot run samples
I have installed the July CTP on a fresh new machine: 1) The .NET 3.0 Runtime components 2) The Windows SDK for .NET 3.0 3) WF Extensions AFAIK, there is no corresponding Orcas tool to go along with the July CTP. All install well. However, I cannot run any of the Infocard samples. Running the setup.bat gives this errors: The service name is invalid. Apparently, there is no such service "Microsoft Digital Identity Service" installed. What am I missing I also had trouble with the install scripts, but I just started the Windows Cardspace service manually and got past that. But trying to run the samples is leading to the following error in the identity selector: "This version of Windows CardSpace d ...Show All
