zohar.amir's Q&A profile
Visual Basic Timer Event Not Firing on Win2k
Hi all, I am having tourble with a timer not firing on Win2k. The service was developed on XP and the Timer fires every single time without fail moved it to the live enviroment Win2k Server and If NEVER fires. I looked at Thread timers but they are a bit ahead of me atm so I couldnt get that to work either any one had this issue before if so how was it resolved Cheers Paul Protected Overrides Sub OnStart( ByVal args() As String ) ImportPath = searchpath CreateTimer() End Sub Protected Overrides Sub OnStop() tmr.Stop() dsData.Dispose() tmr.Dispose() End Sub Private Sub ...Show All
Windows Forms Improve mutations, please!
Hello, Many thanks for a great game! Problem: currently I think there is not much use for DNA feature... I have a suggestion for mutation improvement: It would be great if it would be possible to assign new PointsAttribute layout at birth. And the new MatureSize as well. Rules: It still should be 100 total, of course. Otherwise - death at birth. It could be only  ...Show All
Windows Forms remote server is unreachable or the request has timed out
I've installed the Client and server applications to two different Windows 2000 machines and get the same error on both when I start the client "The remote server is unreachable or the request has timed out." I have SQL Server 2000 and sa has a blank password. The SQL Server instance can be referenced using "local" and I believe that&nb ...Show All
Smart Device Development AT commands & Visual C++
Hi! I want to communicate with a module GSM (Nokia 12) using AT Commands. I use Visual C++ 6.0. I get it using the hyperterminal, but with Visual C++ I only get connected, but not send and receive commands...someone can help me This forum is for development on devices related issues, not desktop. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All
Visual C# Variable doesn't increment
Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose(); if (y > 569) timer1.Stop(); } Yet, after each event, 'y' goes back down to 0, instead of incrementing. Why is this happening Check that this timer ...Show All
.NET Development MySQL Connection Error.
This is my scenario. I have one service, that connects to the sql server and gets some information. then it starts a console program, and that program also connects to the sql server but gets an error. 'ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10022)'. But, this only happens when the console program is started from the service. If i start the console directly it will work perfectly, no connection problem or what so ever. So i can't understand why it gets an error when the console program starts from the service and then tries to connect to sql server. Anyone who has some idea about what it can be ...Show All
.NET Development How to create a Network Connection class that access Remote server?
Hi everybody, I am having trouble finding documents or topics in internet that shows how to create a Network Connection class that access Remote server. I have created a class library that does database access and process to a remote database but it requires internet and a remote network connection which is created using Windows OS. I like to create this into a class that can be called whenever a connection to a remote server is required and the calling will be done inside the program. How exactly I would start this I need help. Thanks. den2005 It will be very difficult indeed if you ...Show All
Visual Studio Express Editions My app only works in computers with VC++ 2005
i have compiled an application using .net 2.0 in Visual C++ 2005 Beta 2, and when i send the exe to people it only works on computers with VC++ 2005 installed - does anyone else have this problem/ can help with this ...well, I think that as long as the versions match, it should work. The separate version at the Framework site: ( http://www.microsoft.com/downloads/details.aspx FamilyId=41070791-8912-4F94-AC46-7CE0E386D5C9&displaylang=en ) ...is 2.0.50215 ...which is what came with Express Beta 2. You can check by looking on your hard drive at %windir%\Microsoft.NET\Framework ...you should see some fol ...Show All
.NET Development TCP packet confirmation
Anybody know how I can checks that my TCP/IP packet have been really received on the destination side and that is not standing in the buffer because of retries or bad connection Ronald You can't rely on TCP acks to tell you if the peer application has received your data. It simply isn't going to work reliably, and there are already too many unreliable network applications out there. Deal with the extra cost - it's a requirement of what you are looking to do. The only time you get to use a TCP event to synchronise application events is when you can get a good FIN-FIN exchange at closure of the TCP socket. ...Show All
Microsoft ISV Community Center Forums Strange Error
I have an Access 2002 SP3 DB and on occasion it seems to corrupt and all forms are no longer accessable any 1 else had this problem i am unsure to what causes it so cant fix it. i open it and it reports a corrupt error offten after a change to some code has been made and saved i always test before before closing so i know it works fine then on next load it corrupts and the MDB file is reduced to only half its original size. any help or advice on this would be much appreciated sorry for the lack of information it seems very random and does not happen a lot so far 3 times in the last 2 month. Thanks Yes, I have this pr ...Show All
Visual Studio Tools for Office Add user property on Mail Item
I have developed an add in for Outlook 2003 which crates a custom field for a mail item using following code: Microsoft.Office.Interop.Outlook.UserProperty campo; Campo=_oMailItem.UserProperties.Add("fldMatteo",Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText, null, null); campo.Value = "Example"; Then, once riceved the same mail to the destination Outlook, I was able to read the custom field with the following code: Microsoft.Office.Interop.Outlook.UserProperty nuovocampo; nuovocampo = m_oMailItem.UserProperties.Find("fldMatteo", true); return "Valore: &quo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vertex Buffer Question
I was wondering if it is possible to change the size of a vertex buffer after the buffer has been created The reason i ask is I am making some terrain that is made up of smaller grids but the number of vertices in the buffer need to change all the time because i do not want to always render all the vertices. Any help is appreciated. Thanks in advance. Instead of recreating a vertex buffer everytime you have different amounds of data, you should read up on dynamic vertex buffers. Just create a vertex buffer with one size, preferable the size of your best guess of the maximum number of vertices you'd have in the buffer at any one time. Fi ...Show All
Visual Studio Team System Problems installing TFS Beta 3 Refresh
I'm trying to install the Beta3 refresh and I'm hitting some real roadblocks. I believe I've followed the instructions to the letter and failed three times to get a working system I'm installing the beta 3 refresh into a VMWare VM, here's the setup I have (all in VMWare VMs). W2K3 domain controller. I have several accounts setup on the server: TFSService;TFSSetup and TFSReports. W2K3 PC that is in the domain. I log onto this PC as a local admin (not the TFSSetup account), make sure that IIS is installed with ASP.Net and that FPSE are removed. With the same login install SQL 2005 Enterprise. I install Sharepoint (again on the same login ); ...Show All
.NET Development TcpListener
when it is right to use acceptSocket and when it is right to use acceptTcpClient what is the difference thanks thanks for the help ...Show All
.NET Development TableAdapter - passing parameter to the Update Command
I have a TableAdapter and try to run an update command with a parameter: UPDATE caseRights SET caseID = @caseID, userID = @userID, RoleID = @RoleID, LastUpdate = @LastUpdate WHERE (caseID = @Original_caseID) AND (userID = @Original_userID) AND (LastUpdate < @dsLastUpdate) The last parameter (@dsLastUpdate) is not part of the table and I'd like to pass it to TableAdapter. The overloaded TableAdapter.Update method doesn't allow to pass the table and a parameter. By contrast the TableAdapter.Fill method which calls the Select Command does ask for par ...Show All
