Jacco Mintjes's Q&A profile
SQL Server How to sync local database with Network database
Hi Scenario: In general user will take database backup from database server to local system. User perform some changes to his local database based on his requirement. Again user connects to database server and click on update, local database should update to server database by informing each record status to the user. ex: record 1 updated / call closed do you want to update Here local database is going to be Pocket pc database and server database is on SQLDatabase. Can any one suggest best way to implement this feature in Windows Pocket pc, c#. I would appreciate your reply. Thanks, Replication could be used to keep the databases syncronized. However, with your desire for user interaction ...Show All
Windows Forms datagridview making one eventhandler
Hi, I have an xml file which contains the history of send sms messages. The program has an sms tabpage where you can send sms messages. You do this by entering the phone number and the message. Then pressing the 'send' button. This program also keeps a history of messages that has been send. It does this by writing the data into an xml file. I want to show the history of the sended messages in xml with datagridview and when the user selects a cell/row or double clicks a cell/row it should load the data back in the controls where the phone number and message was typed. I can load the xml file into the datagridview. The problem is, i don't know how i can load the data back into ...Show All
Smart Device Development [Vista] + Device Emulator + Mobile Device Center
Hello, I have just migrated to Windows Vista. Everything is working (for now :-) ), I only have some problems with cradling VS 2005 Pocket PC Device Emulator. (to be more specific, i would like to share Internet between my computer and my Virtual Pocket PC.) I learned, that Active Sync was changed with Windows Mobile Device Center and that the WMDC should install via Windows Update (i run everything and checked in control panel, but WMDC was not there). Next information I received was the following one: Your Windows Mobile device must be connected to the computer for Windows Update to be able to detect the driver update and install the update. The problem is, that I don't have a physical device, I am o ...Show All
.NET Development Null is returned for GetManifestResourceStream
I posted this in the web services and XML serialization group first, because I thought someone may have seen the error in relation to web services with types that implement IXmlSerializable. However, upon further reflection I believe the issue is really a Reflection issue (pun intended). The link to the original post (including example code) is: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=470391&SiteID=1 The scenario simply put is that I'm attempting to retrieve an embedded resource from a DLL referenced by a web service. The embedded resource is the XML schema used for serialization of the custom types. The problem is that the call to GetManifestResourceStream returns a null reference when used in the scope of a web se ...Show All
Visual C++ Reinstalling VC++ 2005 - New machine
Hi, This week, I acquired a new computer. Before I erase former computer, I installed and configured my development environment. No problems except when I tried to install and configure Visual Studio 2005. Everything went OK except the fact that after successfully compiling a sample C++ application, I cannot run it... I even tried to run a few C++ applications (.exe) I made in the past (out of VC++ 2005 environment on former computer), directly from Windows explorer, and I cannot run them either... Seems something is missing... I compared programs installed between my former machine and my new machine and the only difference I could see  ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Need a pbuffer overview
Could somebody please point me to an overview on using pbuffers in DirectX (Or if they go by another name in the DirectX world, please let me know.) Google search is being surprisingly useless, getting details but no overview. In particular, I want to know how to: 1. Render to texture and then apply that texture to something. 2. Render to texture and then read that texture back into main memory. Example code would also be appreciated. Thanks, Ken There is no pbuffer analog in D3D. Actualy OpenGL PBO extention is replica of DirectX mechanism of rendering to texture. Simplest code in SDk that uses this functionality (creating textures possible to set as render target and actually setting them by SetRenderTarget) is Blobs. ...Show All
SQL Server Hide Dcoument Map by Default while viewing the Report in SSRS
Hello Experts I use a Report where i have a document Map getting generated. but by default it is displayed and the user has to close the window to view the report. i wanted to know if its possible to hide the Document map window by default and based on the click of the icon the window will be show to the user when viewing in the default Report page. /chandresh soni I created a report with Document Map on (from Matrix Textbox Properties | Navigation tab) and the same report without Document Map. Saved both and searched for differences in the resulting rdl files. This helped me to find the problem in my original report. Removing the Label element in the Grouping part of the Matrix element removed also ...Show All
Windows Forms Custom control, creating a border when the Auto scroll is on.
I've created my own custom control, i'm trying to set the border using the ControlPaint class, however because of the scroll bar i have two problems. 1) When i scroll the border moves with it. (I think i could work this one out) 2) The border does not encompass the scroll bars. 3) The controls in my control seem to be above my border (something to do with z-order ) and so only part of the border display's Is there an easy answer to this Here is the code i've used (in the paint event) Graphics myGraphics = this .CreateGraphics(); ControlPaint .DrawBorder(myGraphics, new Rectangle (0,0, this .Width, this .Height), Color .Black, ButtonBorderStyle .Solid); myGraphics.Dispose(); ...Show All
SQL Server DateTime Format Conversion Issue
Hello everyone, I came accross this problem where I can't change my stored date to: m/d/yyyy hh:mi:ss AM Seems to me like there is no code related to that particular conversion. I'm just assuming that because I've tried all the codes supplied with the convert, and the closest that I got was select CONVERT ( nvarchar ( max ), getdate (), 22 ) 02/27/07 12:24:40 PM m/d/yy hh:mi:ss AM So can any one give me a quick solution for this I'd appreciate it How about select CONVERT ( nvarchar ( max ), getdate (), 101 ) + substring ( CONVERT ( nvarchar ( max ), getdate (), 22 ), 9 , 50 ) Dan ...Show All
Visual Basic form1 disappears
form1 appears as blank screen when code runs using visual studion 2005 visual basic. code for program me.show() it is blank white. program error occurs, ProgramEnd: '' Program will return here after female switching is completed and re-totals handicaps on all teams If High <> HTarget And hwcount < 3 Then GoTo AdditionalChange If Low <> LTarget And hwcount < 3 Then GoTo AdditionalChange now = count FindHW() sw.Stop() ReportForm.Show() DisplayResults() ' runs the DisplayResults sub in module1 for debugging purposes ' this will be removed in final program as not needed Console.WriteLine( "Processing time: {0}" , sw.Elapsed) Console.Write( &quo ...Show All
Visual Basic Pressing F5 to run - Nothing happens
Hi Guys, Got a strange problem, I am new to VB Studio Express so loaded up the software, and no problems installing. Downloaded a training video, that says when I create the project HelloWorld and enter no code but just press F5 I can get the basic form up and move it, minimize etc, however when I try this nothing happens. The screen flashes and comes back to me, I can see the build succeeded message flash up on the bottom of the studio to show that everything is ok but then..... nothing. I have looked through all the other threads that are similair to this problem, and they are asking about the code they have inputted, but I have no code at all. Here's hoping someone can help Kind regards S0uthp4rk ...Show All
Visual Basic Save Contents of Textbox into a .txt File
On my form, I have a textbox that a user can type in. I need a way to save the contents of the textbox into a text file to a path ( \\server\folder\folder ) AND overwrite an existing text file. Does anyone know a way to do this with both option strict and option explicit turned on Thanks in advanced! This is the complete form I have. I have a textbox and a button on it. Imports System.IO Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click File.WriteAllText(sfd.FileName, TextBox1.Text) End Sub End Class ...Show All
SQL Server CLR Stored Procedure craps out - Msg 6532, Level 16, State 49
Hi All, I have read the various posts regarding the thread abort issue. I have a stored proc (CLR-C#) which makes and ldap call to a novell NDS tree and attempts to pull about 40k+ records which I would then insert into a sql server database. I have set up all the requrements in terms of clr enabled etc... I have written my class and I can run the sp when I limit the records returned. However when I go to grab all the records, (which takes some time), the sp craps out with the error message in the title of this post. The assembly is running under unsafe permissions. If I run the sp once, it works, then again and I may or may not get an 6522 (memory error). I added the search parameter to break down the records returned (so I return a's the ...Show All
Visual C++ OTP: my printer won't work with visual c++
Runtime Error Program: C:\Program Files\Dell Photo AIO Printer 922\dlbtaiox.exe This application has requested the runtime to terminate it in an unusual way. please contact the application's support team for more information Can anyone help me ...Show All
Visual C++ Arrays of Strings
Hi folks, I'm writing a .NET Winforms project in Managed C++ using Visual Studio 2003 and I'm wondering how I go about having multi-dimensional arrays for String objects I'm vaguely aware of the Array Class, but I'm not sure if this needs to be part of my solution. I've tried a few experiments using the classic C++ method of creating multidimensional arrays, but (of course) this does not work owing to the managed restrictions of the language. In any case, I just need a little direction here - do I need the Array class or is the syntax for this a bit different than what you might expect -Zero array<String^, 2>^ myStringArray = gcnew array<String^, 2>(y,x); Where 2 is the dimension ...Show All
