WL_07's Q&A profile
Visual Basic Get IP-adress
Hi friends I'd like to have the code, to show MY IP-adress in a label. Thx in advance Marnik Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName) Console.WriteLine(CType(h.AddressList.GetValue(0), IPAddress).ToString) Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Smart Device Development Saving State...
When I try to 'save state and exit' from file menu, the message SAVING STATE... is displayed but nothing seems to happen. SAVING STATE... does not disappear and nothing is saved. I have tried device emulator V1 and V2. NK.bin is made using device emulator bsp, but I also tried SMDK2410 bsp - with the same result. Any ideas Hi I have the same problem. Do you mean to add the /s to the Additionalparameters property in the ExportSDK.cfg DeviceEmulation PropertyBag thanx, Mark ...Show All
.NET Development Access and Sql Connectivity for Software
Hi, I have vreated a SQL- based project but now for few of my clients , i need that my project should work on Microsoft Access database , For this purpose :- Do I need to change all the queries of my project to work comatible to Access or Is there any other option for this How to create a database in Access , Is it similar as we do normally in SQL( like copying the .mdf and .ldf files onto Data directory), Is there any other option to create a database in Access by just copying some contents. Problem:- I want when somebody installs my software , it should ask for database like (Access or SQL) and creates a basic database with tables and data required for software in the selected server, Please let me know. Rega ...Show All
Visual C++ After installation of an add-in software, I can not shift+Tab a block of source code ? How can I go back to its previous state ?
Dear Members After installation of an add-in software for VS2005 , meanwhile it is VisualVSN, and replying a confusing message box produced by this software as Yes, I can not shift+Tab a block of source code How can I go back to its previous state Sincerely Cem DEMiRKIR Maybe you should reset the keyboard settings Try clicking on Tools --> Customize --> Keyboard --> Reset . I hope this helps. ...Show All
Visual Studio Express Editions Interested in DDK, will it work with Express?
Hi! Originally, I was contemplating buying VS but I want to have the DDK and I can hardly afford the investment in both, this is after all merely a hobby to me. Now I downloaded the EE, will that work with the DDK if I buy that, or is that relying on the Pro version Also, I would like to know if I can use Express for 64bit development - seing that '.net' is fresh out in 64bit. I am on XP x64 and hopefully that will not present me any installation issues Thanks! Tony Sperling wrote: Also, I would like to know if I can use Express for 64bit development - seing that '.net' is fresh out in 64bit. I am on XP x64 and hopefully that will not present me any installation issues If your XP x64 ...Show All
Software Development for Windows Vista Endless state workflow, performance problem, Very common problem in real system
We use state WF to handle our order processing. Usually an order has 5 states: (1)Script (2)Approved (3)shipping (4)Closed (5)Canceled The following actions move the state transforming between the above states. Approve (1) a (2); undo approve (2) a (1);Cancel (1),(2) a (5); close (2),(3) a closed; undo close (4) a (3) Let’s have a look at action “undo close”. It exists in a real world system. Because user some time still need undo-close an closed order to ship again. (Maybe because he just regret). My question is: which one is completed state of this workflow (4) Closed or (5) Canceled It seems there are no completed state of this workflow. If so ,when can I delete the persistence state If I set closed-state( ...Show All
Visual Basic Automatic Generation
hi, i need automatic generation of numbers of the Format : 0001S. i tried with the following codings. it works with MSAccess as BackEnd and not with SQL. Set rs2 = d.Execute("select max(val(mid(no,1,4))) from samp_mast") If IsNull(rs2(0)) = True Then Text2 = "0001" & "S" Else Text2 = Format(rs2(0) + 1, "000#") & "S" End If Text3.SetFocus SendKeys "+{end}" ' ====================================================== Try using "num" as field name instead of "no" Set rs2 = d.Execute("select max(val(mid(num,1,4))) from samp_mast") ...Show All
Visual C# Migration of windows application from .NET framework1.1 to 2.0
Hi I have a windows application developed in VS2003 dotNET framework1.1, i need to migrate to dotNET2.0, After success conversion my application working fine as before. But I would like to know , Which version of the controls are being used (1.1 or 2.0) and which version of ADO.NET (1.1 or 2.0) it is using internally How can i do this ...Show All
SQL Server sql query
Hello all, I have two tables T1 and T2. Table T1 has n+10 rows and table T2 has n rows. I need to do a "union all". I would get n+n+10 rows in result. Now, the 10 rows in table T1, which do not match with rows in Table T2 should have an '*' (asterisk) in front of them. The '*' may be in a separate column.the result should look like this: col1 col2 col3 col4......coln * 1 1 1 1 * 2 2 2 2 * upto 10 rows n n n n n n n n n n Could anyone help me with the query Thanks, Indoaryaan. select '*' new_Col,* from T1 where stor_id not in (select stor_id from T2 ) union all select null new_Col, * from T1 where stor_id in (select stor_id from T2) union ...Show All
Visual Studio How Do I Disable *.suo Files Being Generated
Hi, I'm wondering if there is a way to disable *.suo files being created in Visual Studio 2005; the program has been crashing quite alot; so if I remove that file then open the solution everything works, even with the files that where saved to be opened in the *.suo file. Thanks Glenn The .suo file is a per-user file not to be shared and AFAIK you can not prevent its creation (it will be recreated). See: http://msdn2.microsoft.com/en-us/library/df8st53z.aspx So, the actual solution is to get the cause of the crashes. ...Show All
Visual C++ ODBC/OLEDB Connection
Hello Sir, i am working on answering matchine project in visual c++ 6.0. The entire sample code is in C and files are with .C Extension. i have to do database connectivity with C. i don't know how to do it. i know how to get database connectivity in VC and Code in .CPP Extensions. but when i use the same dll and header files in C, it gives an error in importing 'ADO Dll' in 'STDAFX.h' from program files and says that C compiler does not support import directive. if i convert all files to .CPP extension. it gives a lot of errors in calling some window functions. Pls guide me what should i do now. Thanks and regards Munish Gupta If the language doesn't support the database connectivity, ...Show All
Visual C++ Why does my list control works properly in Win2000 but not in Win2003 server?
Hi, I'm using VS2005 developing a COM server using only win32 libraries. In my Dialog box, I have a List Control (which I was told to use the Listview control messaging and notifications) that I specified with check boxes option (each list item has a checkbox next to it. In Win2K server, the list control lets me easily selects or checks any list item in it. However, in Win2003 server, it's not letting me select any item. It only allows me to check other items. Is this a know problem How can I resolve this Thanks. Please reserve your use of this forum for questions concerning the C++ language or libraries, or compiling C++ code. UI and other application development issues using Win32 should be posted in one of the newsgroups ...Show All
Windows Live Developer Forums i need some help on nick changing
the problem is i can't change my display name in windows live messenger, and my current display name is my email address, it just remains the same display name no matter how i change it. just recently, i tried to log in my account using windows messenger. i change my display name there and it did work. however, when i back to windows live messenger, i encounter the same old problem again. by the way i can neither change the personal message in windows live messenger. anyone know why on earth does this happen oh...btw.. i changed my contact card information and then i was able to change my display name and personal name.... thanks for the tip :D ...Show All
.NET Development System.NullReferenceException
Hello I am getting this error and not sure why. System.NullReferenceException: Object reference not set to an instance of an object. 'WORKS FINE blStatus.Text = output_checker.SelectSingleNode( "ShippingAPIResponse/AddPackageResponse/Status" ).InnerText 'WORKS FINE lblStatusDesc.Text = output_checker.SelectSingleNode( "ShippingAPIResponse/AddPackageResponse/StatusDesc" ).InnerText 'THE FOLLOWING LINE GIVES ME THE ERROR lblProBill.Text = output_checker.SelectSingleNode( "ShippingAPIResponse/AddPackageResponse/PieceTrackNo/TrackingNo" ).InnerText Here is the XML Statement : < xml version="1.0" > <ShippingAPIResponse> <AddPackageResponse> <SONum>941823-1 ...Show All
SQL Server SqlCEParameter with SQLDBType.Binary won't allow size to be set > 510 bytes
Here is my code: Dim oParameter As New System.Data.SqlServerCe.SqlCeParameter( "@pMyParameter" , SqlDbType.Binary, 3000) If you set a watch on this object, the size is set back to 510. I have tried resetting the size back to 3000 after construction using oParameter.Size, but it doesn't change from 510. If the command is executed using ExecNonQuery, this causes the bytes to get cut off at 510 bytes and returns the error: Byte array truncation to a length of 510. Can I insert data into SQL Server 2005 Mobile Edition, into a field of data type binary(3000) using .NET CF 2.0 via SqlServerCe objects Thanks for any help. Kirk I used a reflection tool on the .NET 2.0 CF and disco ...Show All
