Mark Macumber's Q&A profile
.NET Development Windows App from .Net 1.1 to 2.0
I recently installed VS 2005. I converted my 1.1 windows app to 2.0. It debugs fine on my machine (no errors). The release runs fine on host machines with 2.0 (and 1.1) but it crashes on machines w/o 1.1 installed. The release runs fine on my machine even after I've uninstalled 1.1. I don't know what the difference could be. The debug report on the host machines contains no useful info to me. Thanks in advance for any suggestions. It's one of those send error report prompts so I can't copy the details of it. Below is all I'm able to give you... EventType : clr20r3 P1 : logicommui.exe P2 : 1.0.2440.15788 P3 : 44fed4ae P4 : logicommui P5 : 1.0.2440.15788 P6 : 44fed4ae P7 : b P8 : e9 P9 : syst ...Show All
Visual Basic Intellisense description in VB.NET 2.0 - does it exist, and how?
Just wondering if VB.NET 2.0 has the same functionality as C# in the idea of intellisense descriptions. What I mean is, if you hit the period key, and the list pops up, you choose/hover over a property, method, etc - and it gives you a nice detailed description of the method, and it's parameters. Now is it possible to do that in VB.NET And how. Thanks! Umm, it works the same way, comment above the proc. Here's another MSDN library article that makes that clearer. ...Show All
Smart Device Development Invisible Window
Hi guys, I want to have an invisible window so it can exist in the foreground or background and not effect any other windows. Basically all it will do is handle global key events (a hotkey most likely) if and when they happen. If it can then become invisble, that's a bonus, but it's not a huge deal. There has to be a way to make an invisible window, but I've tried CreateWindow with so many different types of windows and had no luck. Could it simply be a matter of not doing anything with WM_PAINT events Would that let the window exist and receive events invisibly Cheers, Dan. I added a message loop, even though everything I've read says message loops HAVE to have a window to use them. It did t ...Show All
Visual Basic item in Listbox
I'm trying to figure out what I'm missing here in this piece of code: dim s as string ="" for each item In me.listbox1.items s=s & item.tostring & vbcrlf ... i get this error msg: "Name 'item' is not declared" Any help would be appreciated. aLEX Hi, try changing the following code line [assuming your listbox is filled with string items]: For Each item As String In Me.listbox1.Items ... Andrej ...Show All
Visual Studio 2008 (Pre-release) WPF presentation for managers
Hello to everybody, I would like to ask you if you know where I can find a power point presentation of Windows Presentation Foundation technology dedicated to business manger (not technical) thanks in advance this is what you might be wanting - spread the word http://wpf.netfx3.com/content/Spreadtheword.aspx ...Show All
SQL Server 2 inserts in 1 stored procedure?
How do I include 2 insets in 1 stored procedure code i have is: ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= CREATE PROCEDURE signUp -- Add the parameters for the stored procedure here @username varchar ( 24 ), @password varchar ( 32 ), @firstname varchar ( 30 ), @lastname varchar ( 30 ), @address varchar ( 50 ), @town varchar ( 20 ), @city varchar ( 20 ), @postCode varchar ( 8 ), @email varchar ( 60 ), @dob datetime ...Show All
Visual C++ Newbie getting C2352 error
I get this error, error C2352: 'System::IO::DirectoryInfo::GetFileSystemInfos' : illegal call of non-static member function, when I try to compile this line: array <FileSystemInfo^> ^fi = DirectoryInfo::GetFileSystemInfos( "*.txt" ); GetFileSystemInfo returns a handle to an array of filesysteminfo objects. I think I'm defining fi as a handle to an array of these objects. Any help is appreciated! Johnny Did you try to look up in MSDN for that error Here is a sample from MSDN about there error: // C2352b.cpp class MyClass { public: void MyFunc() {} static void MyFunc2() {} }; int main() { MyClass::MyFunc(); // C2352 MyClass::MyFunc2(); // OK } Should help you understand th ...Show All
Visual C# looking for somewhat simplified tutorial on marshalling
greets. im in the process of trying to marshal a large C struct to a managed version for some interop. while im finding some references, some i parts i cant find. the main problem is finding a way to marshal a bit field in a struct into something similar in a managed version of this struct. from what ive seen, i need to create an enum on the managed side witht he Flags attribute and then set the values based on the bitfield is this the best way to accomplish this. better yet, lets say i have a struct with the following: struct myOpts { int n_val1; int n_val2; char s_mystring[15]; struct _otherOpts { int n_other; int n_other2; } otherOpts; char s_array[5][10]; struct _myBits { in ...Show All
.NET Development Need help with building a Regex
Hi, I’m I want to build function that returns numeric Regex by few params: Allow Zero (the number can be 0) Allow Negative (the number can be negative like: -5) Allow floating point (the number can contain floating point (double) like: 7.6) Left to floating point (how many numbers can be in the left side of the floating point) Right to floating point (how many numbers can be in the right side of the floating point if there is a floating point) I build this function: public string GenerateRegExPattern() { int minLeftToFloatingPoint = 1; int maxLeftToFloatingPoint = LeftToFloatingPoint; string pattern = string .Empty; if (_allowNegetiv && !_allowZero) { // Numb ...Show All
SQL Server running ssrs 2005 against sql 2000
Has anybody managed this, and if so, any problems Dear, When u install SQL2005 just change the location .So that u can see the changes in the files and folder. If u dont want to change the .location install in default location. SQLServer2005 work fine with the pre installed sqlserver2000.No problem in anycase. HTH sufian ...Show All
Software Development for Windows Vista Is June CTP SDK work on Xp pro OS
hello Now I have setup for MicrosoftR WindowsR Software Development Kit (SDK) for June CTP of Windows Vista and .NET Framework 3.0 Runtime Components. I down load from the follwoing URL http://www.microsoft.com/downloads/details.aspx FamilyID=9221A6AA-AC1C-4604-A326-B8CF2B12B6EB&displaylang=en I want to know whether I install in Xp -pro this setup will work or not. Please guide me Advance thanks vijil according to http://www.microsoft.com/downloads/details.aspx FamilyID=9221A6AA-AC1C-4604-A326-B8CF2B12B6EB&displaylang=en#Requirements , and http://blogs.msdn.com/tomarcher/archive/2006/07/17/668572.aspx that works ...but.... ...Show All
Visual Basic How to pause the code in VB6?
Hello. I need to pause program while femm is runing (about 2 seconds). Do Until Counter = n Call femm Counter = Counter + 1 <How to 'pause' the Loop > Loop Please help me!!! Public lngST_StartTime As Long Public Sub Delay(Optional ByVal vntDelayLength As Variant = 1, Optional ByVal blnDoEvents As Boolean = False) lngTemp = SuperTimer While SuperTimer < lngTemp + vntDelayLength If blnDoEvents Then DoEvents Wend End Sub Public Function SuperTimer() As Double If lngST_StartTime = ZERO Then lngST_StartTime = CLng(DateSerial(Year(Now), Month(Now), Day(Now))) SuperTimer = (CDbl(CDate(Now)) - lngST_StartTime) * 86400 End Function (Use Super ...Show All
Microsoft ISV Community Center Forums Excel user form to select a favourite file
I am trying to use a custom form for the first time and would like to select an excel file from the normal "File _ Save As..." window and once selected, save the path and filename into cell A1 of a spreadsheet called "My Toobar.xls". This will then allow the user to open this "favourite" file very quickly. Can anyone help me get this Windows "File _ Save As..." browser window embedded into a UserForm. Many thanks, Paul I'm sure Derek meant the GetSaveAsFilename ;) application.GetSaveAsFilename Both these methods just collect a filename and do not actually save or open anything. You would still need to use the .SaveAs method of the workbook. ...Show All
SQL Server Post 2005 SP2 install, no script component can be edited.
Anyone starting to see "Cannot show Visual Studio for Applications editor. (Microsoft Visual Studio)" after installing SQL Server 2005 SP2 on x86 machines Second, how can it be fixed After installing SP2, the script component editor will not edit script components created in pre SP2 releases. (I also have Visual Studio 2005 SP1 installed). The script TASK editor will start, but when attempting to open a script COMPONENT in the VSA editor, a script component created for pre-SP2 packages, the following error dialog occurs. Cannot show Visual Studio for Applications editor. (Microsoft Visual Studio) This same error dialog has occurred on multiple computers, none of them are running Vista (rather Windows XP SP2). All of the pre-existen ...Show All
Visual Basic dll problem in .net setup
Hi, I'm GRK I'm using a VB6.0 dll in two .net applications and made setup for those applications and i installed both the applications in a system.upto here everything is fine. But when i uninstall one application then it is unregistering the dll from the registry,so the second application is unable to work,and giving an error.So how to solve this problem,i tried with the property changes of the setup for the dll. Any help is appreciated.thank you regards GRK That is the problem with the dll's and microsoft named it as dll hell. I'm solving this problem by going to control panel>> add remove programs and select that application setup-one which got problem and clicking on the repair will repair and re inst ...Show All
