Kat99's Q&A profile
Smart Device Development WindowsCE, CF + Rijndael encrypt., I'm stuck
Ilya, Thanks for the response. I thought I mentioned somewhere I was writing code in VS2005, so I should be using CF v2.0 not 1. Sorry if I left out any information, I usually try to include everything. I need to pass char* to string and back, but I have no success still. Is it possible that I can post an example project that someone can look at I still haven't gotten an SDK from Symbol.. could it be possible that the WindowsCE SDK ARMV4I that I'm using is working intermittently with my device half the time I'm struggling to make the int function work again, it's starting to seem random, and I've had no hope of returning any type of string, although I was able to pass a St ...Show All
Visual Basic IsDBNull problem
I am probably doing this wrong If IsDBNull(EDFRow.EStart) Then Me .EStartDateTimePicker.Checked = False Else Me .EStartDateTimePicker.Checked = True End If I get the error that the filed is dbnull Can someone please explain this. Davids Learning It is an exeption error It says that the field I am refering to is DBNull It stops my code from executing to give me that error Sorry Davids Learning ...Show All
Windows Forms about DataGridView
how can make copy the all column and rows that contain information and paste them into MS Excel file or MS Word file Reads these samples for clipboard handling: http://www.codeproject.com/csharp/clipboard01.asp http://www.codeproject.com/csharp/clipboard02.asp Charles ...Show All
Visual Studio 2008 (Pre-release) Render only inside a specified area.
If you render a rectangle in the windows bounds the entire rectangle becomes visible. How can i do to only render half of the rectangle, let's say that i want everything to the right of 100pixels to be blank and i render a rectangle that is 70pixels wide, 50 pixels from the left. Then i only want the first 50 pixels of the rectangle to be visible. I've tried to add the rectangle in a usercontrol but that doesn't work, i render everything inside a canvas so i can use exact positioning. Are you looking for clipping Just set the Clip property . HTH, Drew ...Show All
Visual FoxPro getting things working on a network
im having problems when 2 people save at the same time on my network. the person who saves last is going to over write everyone else. PRIVATE B DO WHILE !THISFORM.MULTIUSER() WAIT 'Getting Network Attention... Please Wait' WINDOW NOWA NOCLEAR ENDDO B=THISFORM.SAVEUPDATE() SELECT CLIENT UNLOCK WAIT CLEAR IF B=1 MESSAGEBOX("Client Successfully Updated",'KM SYSTEMS') ENDIF IF B=2 MESSAGEBOX("Client Successfully Saved",'KM SYSTEMS') ENDIF _______________________________ this is what is in the method multi user SELECT CLIENT IF FLOCK() RETURN .T. ELSE RETURN .F. ENDIF save update is this _______________________________ PRIVATE A SELECT CLIE ...Show All
.NET Development Enterprise Library 2006 Error when referenced from GAC
I get an error when trying to execute this code referencing Microsoft.Practices.EnterpriseLibrary.Data from the GAC, but it works if I reference the assembly locally from the bin directory: Database db = DatabaseFactory .CreateDatabase(); DbCommand dbCommand = db.GetStoredProcCommand( "storedproc" ); db.AddInParameter(dbCommand, "@ID" , DbType .Int32, "2" ); DataSet ds = db.ExecuteDataSet(dbCommand); The following is in my app.config file: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < configSections > < section name = " dataConfiguration " type = " Microsoft.Practices.EnterpriseLibr ...Show All
.NET Development Problem using WSDL file as Data Source
I am creating a WinForm project that displays information from a Web Service that I created. The Web Service returns an SQL dataset. I created a WSDL file from the Web Service and added it to my WinForm project. I can add the wsdl object as a Data Source, but it does not show the field names in the dataset. Instead it shows fields such as AllowAutoRedirect, Timeout, Url, etc. How can I display the dataset field names in the Data Source Thanks for any ideas, Tom You need to use AddWebRefernce to add the service description to your project. After you done so, you will see a proxy class and the strongly-typed dataset generated, and you should add the generated DataSet as DataSource, not the pr ...Show All
SQL Server analysis services service doesn't start
Hi, well, you all know that story... "Suddenly, without changing anything, ...". Now it happened to me... Suddenly, without changing anything, my Analysis Services service doesn't start anymore. I the event log I see that it starts and it ends. When I try to start it from SQL Server Management studio it says that it started and stopped again. It's configured to use the local system account. I tried to run the service from a command line but it just quits without any message. Any idea what I can do Thanks, …fixed… There was a change… I started with Microsoft e-Learning trainings and got some XML problems with the viewer they use… They gave me some instructions to fix that (which didn’t help) but that seams to sc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. All Windows Games crash after installing 1.0 (but 360 is fine)
Hey gang, Having a problem with my laptop and writing Windows games in XNA. I was able to run things fine in beta1 and 2, but now that 1.0 is out I keep getting crashes and a run-time error saying that 'XNA can't find a graphics driver with DirectX1.1 shaders ect ect'. I have a tablet PC with updated Intel 'Exterme Graphics' drivers. I've installed (and re-installed) XNA Game Studio, Visual C# Express, and the DirectX SDK runtime. Also, I can properly run games compiled for the XBox360. Did anything in the framework's min requirements change for 1.0 Or did something happen to my computer that's making it mad Thanks for any help! ScottT Just one note, in order to use the ReferenceGraphicsDevi ...Show All
Smart Device Development Auxiliary Battery for PDA's
Does anyone know where to get auxiliary batteries for devices like the HP IPAQ 3115 Palm used to make one for their devices. It extended the power available by a couple hours. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
SQL Server Set report display name in visual studio before deploying??
Is it possible to set up the report display name somewhere in Visual Studio before deploying I have many reports and i don't want to list the report file name in Report Manager, instead i want to display a more user friendly report name. I know it is possible to change the report name in Report Manager, however when I deployed a new version of it, it didn’t replace the existing file, it put a new one up (meaning i now have two copies of it, so each time i deploy i have to delete the old report and rename the new one). I also want to set up the “view in list” property in Visual Studio, which I assume would be in the same place. Would be nice if they could include this in the next release...which is soon i hope! ...Show All
SQL Server Problem connecting remotely using osql
Hi, I am using osql to connect to my remote MSSQL server. I am able to get a prompt for password and telnet to 1433 just fine, so I conclude this is not related to firewall. When I try to connect I get: C:\Program Files\Microsoft SQL Server\80\Tools\Binn>osql -S xx.xx.xx.xx -U test Password: [DBNETLIB]SQL Server does not exist or access denied. [DBNETLIB]ConnectionOpen (Connect()). When I try to connect from 'localhost': C:\Program Files\Microsoft SQL Server\80\Tools\binn>osql -U test Password: 1> -- This is Microsoft SQL Server 2005 - 9.00.1399.06 and both local and remote connections are allowed. Logs don't show up anything. Thank you. From your explanation, it shows tha ...Show All
SQL Server SQL Beginner's Question - Computed Column
I'm currently writing an app in VB Express. One of the VB modules is a timesheet where I have to subtract "finishtime" from "starttime". I created a computed column in SQLExpress that accomplishes this, but of course updating the table from my frontend causes an exception. I know within SQLExpress this can be worked around by running the update twice. Question: Should I place computed columns in a seperate table that is not updated or Stuff programming protocol and not handle the error and just run the update query twice from the frontend or A suggestion of your choice, please be nice, a novice SQL user here. I don't particularly want to have to do the calculations each time the data is downloa ...Show All
.NET Development How to filter the nodes of a generic collection?
Hi everyone, I've implemented a generic collection for a treeview control. Now while populating it into a treeview i need to query the collection to get a subset of the nodes i need to populate at that time. So how do i accomplish to do that (filter the Generic collection) Hi How can this be adapted so it binds to a datagridview I am using an objectdatasource that returns a generic list for the "select method" but I want to filter this. ...Show All
Visual Studio Express Editions cursor position in textbox
Can anyone tell me how to define cursor position in "any place" in a textbox Sounds like you're writing an editor. Do it like the Visual Studio code editor does it: SelectionStart + 1, corrected for the line number of course... ...Show All
