neutroncore's Q&A profile
Visual FoxPro only VFP can control VFP
is there a posibility that we can open a VFP appilication at a remote location without using any 3rd party software like pcanywhere . Example...I am at the server and want to re-open a VFP client application which is closed by the user at the client PC. i am using winsock for the communication between my VFP server applic. and VFP client applic. pc How could we do that Is anybody has an idea ... Because I want my VFP Applic. contolled only by VFP. Thanks for any help Madix T. Hi Madix, does this work for you - if you just run it locally (Remember to changed the time....) Go to DOS and key in :- schtask ...Show All
Visual C# Using TcpClient w/ Modem
Hi everybody, I am still learning how sockets, TcpClient and TcpListener work, in order that both sides to send and receive data, both sides must have a socket or TcpListener and a TcpListener right Is there a possible way to say just have a client side TcpClient application to send a message to remote server like sending a text file Do TcpClient requires a Internet connection to connect say to remote server So, to connect to a VPN network(remote server), I need to establish internet connection like using RAS. Right How do you programatically create connection using a local USB port with a GPRS modem Using So ...Show All
Visual Studio DSL Setup project fails to compile
I'm looking for help again... This time I'm following the walkthrough for deploying a DSL. It is failing for me when attempting to compile the project. I get a build error: The "WixToolsPath" parameter is not supported by the "FindDslToolsInstallation" task. Verify the parameter exists on the task, and it is a settable public instance property. I've looked for both those strings in the generated wxs and found nothing useful. Can anyone suggest a fix Thanks, Brian. Hi Brian, Generally, this happens when you have previous CTPs of the DSL tools installed, and haven't uninstalled them ...Show All
Smart Device Development Copy files between PC->PPC and PPC->PC
Hi, I’m writing a program that copies any file from PC to PPC and PPC to PC. To do the job I use OpenNetCF Desktop Communication Library and not problems at all, at the moment. My only worry is to get a File Explorer showing the files in the connected PPC so the customer can pick up visually the wanted one. At the moment it is only possible when copying files from PC to PPC, with a normal OpenFileDialog control, but not in the oposite way. Using a FolderBrowserDialog control I can see My Mobile Device icon, but that’s all. If clicked nothing comes up. Somebody has a idea about how to call a File Explorer for the PDA side pr ...Show All
Visual Studio Upgrade to VB.net 2005 gives - the given assembly name or codebase was invalid
Just upgrading a VB.NET COM enabled DLL (class library) from VS 2003 to VS 2005 I am getting this error message... Error 1 'The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)' C:\company5\BusClassNET04\LC companybusinessclass5 The file LC does not exist Another similar project compiles OK so I am really confused as to why this is happening. I have tried shortening the assembly name. I don't really understand codebase but the text "codebase" does not occur in the entire project. Any help would be appreciated Where is a comp ...Show All
SQL Server Try Catch Block
Hi: one of our study group members noticed a strange behavior and has the following question. Any thoughts are appreciated. I am unable to understand as to why the CATCH block is not executed when an INSERT is made On table T3 which is dropped after the first transaction. The severity of Insert into t3 values ( 3 ) is Msg 208 , Level 16 , State 1, Line 2 Invalid object name 't3'. BOL says TRY…CATCH constructs do not trap the following conditions: Warnings or informational messages with a severity of 10 or lower . Errors with severity of 20 or higher that terminate the SQ ...Show All
Visual C# Setting the position of a MessageBox
I need to set the position of a MessageBox in an MDI application. I have multiple forms positioned using tile horizontal and vertical and I want the message box to show up centered on its parent form not centered on the computers monitor. How can I set this so that the MessageBox is always opened centered ontop of its parent form Perhaps if you make the parent form the parent of the MessageBox Otherwise, you may have to create your own message box class. ...Show All
SQL Server problem copying database from sql server 2000 to sql server 2005
Hi, I have right now sql server 2000 instance installed on a server (serverone) which is accessed on all nodes through an ODBC connection. Now we have upgraded our server to windows server 2005 which will be on other machine servertwo. I have right now installed sql server 2005 in servertwo. Wish to copy the database from serverone to servertwo. Once it is copied and everything is working fine. I want to uninstal sql server 2000 from serverone. What is the best way to do this I am trying different things like tried running code Advisor on serverone which is not recognising the sql server 2005 instance of servertwo. It's giving messa ...Show All
Visual Basic Serial Port Hex CRC Calculation, help please.
Hi there, My program creates this output: 0xA0+0xAF+0x01+0xAA+0x6F+0x01 which then I need to add the checksum to the end. E.g. "0xC5+0x5F+0x0C+0x00+0x00=0x130 which is therefore CRC=0x30" << from my manual (but doesn't help me). So: A0+AF+01+AA+6F+01 = 2A6 or 618 as Integer. But I need the answer as a Byte. But byte's only go to 255! No where near 618! So help please in converting this 618 into a CRC Byte, please. Thanks in advance. Also at the end of the program I'd like to get the ID() info back to output to the Serial Port. But this line: Function Calc_CRC( ByRef buff() As Byte , ByVal num_ ...Show All
Visual Basic invisible textbox - more complex than it sounds
It have made a custom combo box that uses icons and populates the list in it to that of windows explorer combo box for browsing. Well I would like the user to edit what is in the combo box. But if I change the combo box style so that it can my icon and all other code is disabled. So if I could have a textbox that is invisible but the text isn't. I could easly modify my code to make it look like the explorer bar. But if anyone knows a way I can get around my custom control without disabling the new features I added then that would be great. Thanks in advance! It's not really clear what you have t ...Show All
Visual Studio 2008 (Pre-release) How to make a non-retangular display?
I wish to make a non-rectangular display like this Windows Media Player( http://journal.mycom.co.jp/news/2002/09/11/06cl.jpg ), How to do it (I have found some information on the web about WIndows form, but I can't find any for XAML) Thomas I think you posted the wrong blog entry of unni, that one is about panels. ;) http://blogs.msdn.com/unnir/default.aspx The problem with this perpixelopacity is it forces software rendering, which rules out anything complex. I did ask yesterday if there is any progress on making this work, but got no reply. I tried using a winform hosting the WPF panel, ...Show All
Visual C++ ON_WM_NCHITTEST (and other MFC macros) won't compile in whidbey
1>.\sizecbar\scbarg.cpp(59) : error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CSizingControlBarG::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)' 1> Cast from base to derived requires dynamic_cast or static_cast FYI, ON_WM_NCHITTEST looks like this: #define ON_WM_NCHITTEST() \ { WM_NCHITTEST, 0, 0, 0, AfxSig_l_p, \ (AFX_PMSG)(AFX_PMSGW) \ (static_cast< LRESULT (AFX_MSG_CALL CWnd::*)(CPoint) > (&ThisClass :: OnNcHitTest)) }, I don't even understand the error b ...Show All
Software Development for Windows Vista Is there a filter or a known way to output only some frames of a movie?
Suppose I have an array of frame indices such as [0,4,5,6,10,15.. and so on] I would like that only those frames will be played on screen and all the others skipped. Is there a known good way to accomplish this Thanks in advance. By the way - Is it hard to write such a filter by yourself Any ideas for me where to start Thanks ...Show All
.NET Development DataGridViewRow.DataBoundItem Throws Exception
Hi, I'm using a DataGridView that is bound to business objects. I have a DataGridView RowValidating event handler that accesses the business object like this: DataGridView GridView = sender as DataGridView; DataGridViewRow Row = GridView.Rows[e.RowIndex]; MyClass Data = Row.DataBoundItem as MyClass; When I close the application/form, the DataBoundItem property is throwing an IndexOutOfRangeException, with additional information "Index 0 does not have a value." The index seems to be the current row when the form is closed. The validate event handler is being called ultimately from the ...Show All
Visual Studio 2008 (Pre-release) Check box inside list box or combobox
Is it possible to have check box inside list control in XAML I have the XAML as follows <ListBox name = "list1"> <checkbox ID= "id1"> "hi1"</checkbox> </listbox> this doesn't work. I want this to be done without Longhorn or alvon programing. Is it possible since I'm using VS 2005. Also I want to add the check boxes dynamically thru C# code. Please help me out. Thanks Taruna Add this code to your xaml file: <StackPanel Name="Root"> <StackPanel> <ListBox Name="list1"> <CheckBox Name=" ...Show All
