Yhack's Q&A profile
Visual FoxPro return from a form.
Still struggling to communicate with some of my secondary forms. This problem, again, happens only in StartMode = 4. Everything is fine interactively. LOCAL cUserReturn AS String DO FORM <formName> WITH par1, par2 TO cUserReturn. I get an error message that there is operand/operator type mismatch. I tried to define cUserReturn as Variant - the same thing. The expected type of return is String . According to the Help FoxPro is s ...Show All
Visual C# .
. Rob, This is from a larger project so I've tried to cut and paste the relevant bits. This took ages of trial and error to get working. Hope you can make sense of it. Cheers Steve The process is started from a class that also has a Windows form (to show progress). The sendclip method starts the commandline process which returns as soon as the process is started - as then events take over.&nbs ...Show All
Visual Basic Fail setup Visual Studio 2005 Beta 2
Hello, I want to be a part of the experiance of Visual Basic 2005. When i start the setup from my DvD he start to copy files to the system and checks something. After that he responds with the error: A failled installation has been detected. Press Ok to uninstall the product. Then retry the installation. Ok, so far i deleted the following components marked with **: MSDN Product Documentation Microsoft Visual Studio Tools for Office System 2005 ...Show All
Visual Basic Configuration system failed to initialize ---- Help Please
When i try to run my app I get this exception "Configuration system failed to initialize" I recently added a datascource to the app and am assuming that something has gone wrong there but it was all working ok and then this error just started. I assume it's a problem with my appconfig file which i'll post here I cant see anything wrong with it but.!! I've tried deleting the ConnectionString Section but nothing helps and i cant run my app at all! ...Show All
Windows Forms How to detect the New row in DataGridView?
I need to detect when the user has positioned the cursor (or selected a cell) in the New row (the last line) of a DataGridView. I've tried the easy stuff, like CurrentCellAddress, CurrentRow, but the things I've tried all end up pointing at the last row with data -- ie, having a selection in the last row of data or in the New row both produce the same result... I need to disable some controls when the user is in the New row -- any ideas ...Show All
Visual Studio Error when register CRQE.DLL in Windows 98
I try to register CRQE.DLL in a Windows 98 SE Machine using: regsvr32 "C:\program files\common files\Crystal Decisions\1.0\bin\CRQE.dll" The DLL exists and isn't a corrupt or invalid file but allways I receive the error: LoadLibrary(.....)failed. Error 0x00000485. I install (by suggestion of a person) DCOM but the error continue. Please, what I can do Thanks for your help... Problem solved. I forgot ...Show All
SQL Server The connection manager 'OLEDB' is not properly installed on this computer
Please help someone from MSFT! I've just finished installing the Sep CTP on my laptop. I previously had the April CTP and June CTP. I followed the instructions for removing a previous installation of SQL 2005. Now, when I try to create an SSIS package, I get a message that says: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL IN ...Show All
Visual Studio 2008 (Pre-release) Frame Navigation
I have a Frame hosted in a Window with MenuItems and Buttons bound to NavigationCommands: <Window ...> ... <Menu> <MenuItem Command="NavigationCommands.BrowseBack" /> ... <ToolBarTray> <ToolBar> <Button Command="NavigationCommands.BrowseBack"> ... <Frame Name="contentFrame" /> </Window> If I navigate to a Page in code - contentFrame.Nav ...Show All
Visual Studio Terminology questions
%() is referred to as what The metadata reference operator/syntax or batching operator/syntax @() would be an item list reference operator/syntax And $() would be the property reference operator/syntax What's the name for this @(Compile, ', ') Separator transform It's also useful to make the distinction between vector and scalar expressions. For example, a vector expression ...Show All
Windows Forms how to set timeout for a thread
Hi, How canI set timeout for a thread, so that if it hangs for sometime the thread times out automatically and does'nt get hung forever. Thats my thread private System.Threading.Thread tPollMcastThread; tPollMcastThread = new System.Threading.Thread( new ThreadStart( this .DoMulticastTest)); tPollMcastThread.Start(); That's the poor man's method to do it :D That is the method I usually end up usi ...Show All
Visual Basic Thread-safe call
The following gives the error (...does not have the same signature as delegate...) and I am not sure how to solve (being new to thread calls): Private Sub DataReceived( ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived If e.EventType <> IO.Ports.SerialData.Chars Then Exit Sub SerialData = SerialPort1.ReadExisting DisplayThread = Ne ...Show All
Windows Forms Bringing controls out from design-time
I'm using standard DesignSurface for control design in my custom editor and I'm trying to serialize designed controls with my custom serializator that simply recursively parses the root component and emits custom serialization data for each and every component. The problem is that some components contain objects that were created by their designers. For example, the MenuStrip in its Items collection has a DesignerToolStripMenuHost object tha ...Show All
Visual Studio Multiple Columns
This may be a simple fix, but I am getting impatient and cannot figure it out. How do you do two columns and make it so the table in the first column overflows to the second column before it overflows to the next page I used to be able to do this in access reports and it is going to frustrate me if I can't do it with this. I did that, but it doesn't overflow to the next column before it goes to the next page I want it to go to the next ...Show All
Visual C++ Unicode error
when i move my code from VC6 to VC8, following code is error. WriteLogFile in Line 4367 Code: if(endcon .entry_type != VOC_ENTRY_ARRAY_END) { WriteLogFile(2, "Voc: !! 音板%d的通道%d播放 音失 , 束 件 有 置最 ", cardid, channelid); gChannelStruct[cardid][channelid].StateMutex.Unlock(); return -1; } Error: d:\work\voccard api\voccard.cpp(4367) : warning C4819: T ...Show All
Visual Basic Changes in versions
Hi, I need help with using the language. I've been seeing some code wich says "e.something", for example, "e. progressMax", however, visual basic net beta 2005 does not understand this. Can anyone help me I need to know how to write it so that my version understands it. Thanks Hi, thanks, I already solved it. The problem was that i had to rewrite from: e .progressMax to e.MaximumProgress. Thanks for your reply ...Show All
