javarg'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 StringBuilder and indexof
Forgive me if you've seen this before. I seem to be losing track of postings. Mechanical failure at my end i suppose:-) Why isn't there an indexof method for stringbuilder's I would love to be able to code Dim sb as new stringbuilder sb.append("How Now Brown Cow") dim l as integer = sb.indexof ("ow") if l>-1 then sb.remove(l, 2) ALTERNATIVELY I note in passing that cstr(sb) does not work. Could someone explain precisely what happens when you say sb.tostring I'm assuming that you get the contents of sb stuck in another location in memory. Regards, Al Christoph Who really thinks stringbuilder is great besides this. When you call ToStri ...Show All
Windows Forms datagridview delete removes bound datarow instead of marking it as deleted
Hi, I've bound a datatable to datagridview. When i delete a row (select row, press <del>) the corresponding row is removed out of my datatable. I would like to have it marked as "deleted" instead of being removed so i can manually update the db using the datatable. What am I doing wrong Thanks, Nick Did you find a proper solution for this issue As I have a grid where the user can edit and delete a row any time and finally when done, he can save all the changes to database. Thanks, ...Show All
Internet Explorer Development IE7 dropdown autofind/autocomplete
On my .NET website in a dropdown list, whenever I quickly type in the first several letters of a selection it becomes highlighted according to those letters. This is a new feature in IE7 whereas in the older versions it would only take the first letter and not the first few letters. For example in a colors dropdown, I quickly type "Bro" and the word "Brown" is selected. However, when I type in one letter at a time in a slow pace, the selections of the dropdown are highlighted with only the first character. So if I type "A"...wait a few seconds...then "R", only the "A" will get recognized. My question is: Is there a way to make it so that there is no timeout on how long the browser waits for the user ...Show All
SQL Server Identifying a table update / insert / delete
How to find out that a table has changed. For example if a table has 50K rows, and if any update, insert, or delete was made it should be captured without using any trigger. Is it possible to get such information from any of the system table or DMVs Hey can't u get the hash code of the table as such . and use it to compare whether any data has been updated or inserted or deleted ! just my opinion though.. i am a newbie. ...Show All
SQL Server SQL Package Installation Wizard on x64: Library not registered Error
Hi, I am using the SQL Package Installation Wizard to deploy my SSIS packages on to a 64-bit SQL Server and I am getting this error, Library not registered. I am also getting the same error when I tried to import a SSIS package from a 32-bit SQL Server. I was able to save my SSIS packages to the 64-bit SQL Server one by one from Visual Studio. My server is run Windows 2003 Enterprise x64 with SP1, and SQL 2005 Enterprise x64 with SP1 and hotfixes. 64-bit .Net Framework is also registered on the machine. This is the error from the installation log file: Exception details: Microsoft.SqlServer.Dts.Runtime.DtsTaskException: Library not registered. ---> System.Runtime.InteropServices.COMException (0x800 ...Show All
Windows Live Developer Forums How to show pushpins from a datagrid?
Hi, I have a simple aspnet ajax application, right now without any ajax functionality. There is a datagrid displaying coordintes from a data table. When the user clicks a button I want to check (on the serverside) which coordinates are selected in my grid, and then put pushpins on the map for those selected. How can I do this Is this a proper architecture Or should I do the check somehow on the client side I'm a newbie in client programming, thanks for any advice! Thx! Ors Hi Maulikk, Thanks for your answer, I will try it, however I've already found a solution: On the serverside during page load I create an object containing all position values and serilalize to a hidden field ...Show All
Visual C# xml classes
I have a XML file. Is there any tool in .NET for converting XML files to C# classes .xml -> .cs I want to make classes and properties from xml Elements and Nodes. These classes are responsible for handling xml nodes and elements. How is it possible Example: < DataSource Name = " Test " > < ConnectionProperties > < IntegratedSecurity > true </ IntegratedSecurity > < ConnectString > Data Source=STATION3;Initial Catalog=Test </ ConnectString > < DataProvider > SQL </ DataProvider > </ ConnectionProperties > < rd:DataSourceID > e374e1ac-c69f-4fe1-a3f7-54da6e8c61c3 </ rd:DataSourceID > &l ...Show All
Windows Forms Referencing an array in multiple forms
I have a program where I am entering data into a two dimensional array in form 2 and would like form 1 to access that information. Someone told me that I could just typ "ref" infront of the array anme but when I do that I get a message about exceeding the bounds of the arrray when I debug the program. ...Show All
Visual Studio Help: Visual Studio SP1 Installation Disk Space problem
I've got two disks on my 2003 server. The primary disk is a miserly 12 GB, while the secondary is 120GB. I never expected that I'd have to install a patch that was half the size of the disk! THe most I seem to be able to free up on the primary disk is about 4GB, insufficient to allow me to install the VS 2005 SP. Does anyone know if there's a way to install this using the space available on the secondary disk Any insight would be appreciated. -rod You can set the user %TEMP% environment variable to point to a folder on your D:\ drive. You can also try to set the system environment variable %TEMP% to point to a folder on the D-drive. After changing this reboot the computer. ...Show All
SQL Server Package crosstalk?
I'm trying to convince myself that I am not crazy... I'm having some odd things occur with a couple of child packages being called from a parent package. Inside the master package, I have two different Execute Package tasks that are contained in two different ForEach Loop containers. Both of these containers are downstream of another container. The only Precedence Constraints on either is "Successful". One of these child packages loads a Household dimension table. The other loads a Customer-to-Account bridge table . I built each child package with a template, so there are many of the same variables, containers, etc. The first time I ran the master package I noticed my Household package failed because its Flat File Connection Mana ...Show All
Visual Studio Team System Unable to access any of the reports.
I'm trying to get the reports in Team System up and running. When I bring up the reports I get the following error: An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'dsIterationParam'. (rsErrorExecutingCommand) For more information about this error navigate to the report server on the local server machine, or enable remote errors I've conntected to http://localhost:8080/warehouse/v1.0/warehousecontroller.asmx and done a GetWarehouseStatus, but all I get is 'Idle'. So I checked the application event log and found the following error. The system has been up and running for a while, but we never implemented reports. Any help would be appreciated. TF53010: A ...Show All
Windows Forms Dynamic Graphics
Hi, I'm developing a windows application for Tablet PC. I have a tab control on a page and many tab pages in it. When user fills data and saves, all the tabs that fails the validation should be marked (the tab page header background should be changed which will easily visible to the user) I tried using CreateGraphics and using FillRectangle to fill the boundary of the tab page exposed by Bounds property but it's not working because I found that Graphics can only be used in OnPaint event. The question is: Is there a way Graphics can be handled dnamically without being written in Paint related events Thanks, Shyam Hi Ye, Thanks for the suggestion but there is a problem. All the tab ...Show All
Smart Device Development DMProcessConfigXML()
Hi, Thanks very much for your suggestion.its working for me now. One other question I created a separate desktop Vs2005.net project and am trying to call DMProcessConfigXML() but its throwing an error, ayshell.dll not found.So I tried in a managed way, I added a reference to using Microsoft.WindowsMobile.Configuration from the project and mind you its not a Smart Device project and called the function string configurationXml = @"<wap-provisioningdoc> <characteristic type=""SecurityPolicy""> <!-- RAPI mode : Allowed --> <parm name=""4097"" value=""1"" /> </characteristic> </wap-provisioningdoc>&qu ...Show All
Visual Studio Team System TFS Server Move : tfsadminutil + SP1 questions
Hi all, i'm currently moving our TFS Server from one hardware to another. The new server is in the same domain, but it will have a different machine name. Both servers work as single server. For the moment, on the new server : - i installed TFS - i restored the TFS databases coming from our first server. I'm now in the process of running "tfsadminutils renamedt" and "tfsadminutils activateat". My problem is that i do NOT want the old server to shut down during the move. I want the old server to continue running until we make the final move. I want the users to be still able to work on the old one while i'm moving the TFS server. Is that possible When i run the "tfsadminutils activateat" command, it says me &q ...Show All
