Software Development Network Logo
  • Visual C#
  • Microsoft ISV
  • Windows Forms
  • Game Technologies
  • Visual C++
  • SQL Server
  • Windows Vista
  • Visual FoxPro
  • Audio and Video
  • VS Team System
  • Smart Devicet
  • SharePoint Products
  • Visual Studio
  • IE Development
  • Visual Basic

Software Development Network >> DarrellMerryweather's Q&A profile

DarrellMerryweather

Member List

filson
Alex974
CalinMac
mattdawg
Cravensadie
Pascal Mignot
tomdart
leclerc9
LouArnold
david2929
Mohammad Syed
GLutz78
Djalma Rosa dos Santos Filho
Castrum
Chadrico
jiao
Sanjeevani
Attila Soos
btnguyen
M a t i a s
Only Title

DarrellMerryweather's Q&A profile

  • Visual Studio Express Editions Synchronouse method invocation

    I have the following question, and I really appreciate your help if someone knows the answer: This is my understanding of synchronouse communication: If method A invokes method B using synchronouse communication, object A must wait until object B completes. Is the following possible to do or ture Assume that we have three methods A, B, and C. Would it be possible to do the following: A invokes method B using synch. communication and before B finishes and return to A, method A invokes method C also using synch. communicaiton Thanks. Thanks Carsten; I appreciate your input. I read the material at the web site you sent me, and it is helpful. Is BeginInvoke method an asynchronous method It seems to me that Invoke method is a synchron ...Show All

  • Visual Studio Express Editions Get program's file name

    In Visual Basic 2005, is it possible to get the file name of my program I found I can get the directory the program is in through My.Application.Info.DirectoryPath. However, that does not return the name of the program, just where the program is. Basically, my program installs itself, but if the program does not know its own filename, how can it copy itself to the installation directory Thanks. My .Application.Info.AssemblyName See post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327593&SiteID=1 ...Show All

  • Visual Basic How to loop a process?

    Does anybody know how to loop a process I have a process which is controlled by timer and I want to loop this process when the timer expired. Thanks a lot. If it's on a timer, it will loop automatically. Or if you want something to take a certain time...then move quicker use 2 timers. Like this: When the 1st timer expires: Timer2.Enabled = True Timer1.Enabled = False Then you can make Timer2 loop. ...Show All

  • Microsoft ISV Community Center Forums Using VBA macro to locate next free column on worksheet

    I need a macro that locates the next free column (i.e. has no data in cells) and then places the cursor in a cell on a designated row. Would like search to start from column B and to place the cursor on row 4 on the free column. <> My VBA code thus far: Function NewColNumber(Range1 As Range) As Integer Dim j As Integer For j = 1 To Range1.Columns.Count If Range1.Columns(j) = "" Then NewColNumber = Range1.Columns(j).Column Exit Function End If Next End Function Sub SaveCOLComments() On Error GoTo Err_Part Dim Range1 As Range Dim intNewColNumber As Integer ' ...Show All

  • Smart Device Development Help with ppc 2003 and a dll.

    ok so, i have a dll that was written by another programmer here and, when he updated the dll to have more useful functions in it. i removed the old version and, since referencing the new version of the dll, i get a loadexception with the comment: found conflicts between differenct versions of the same dependant assembly any ideas what i need to do to get this working again i am writting a ppc 2003 app in vb.net 2005. anything will help !! i removed the old dll and any instance of it from the registry before and after trying to add the new version of the dll. Are you seeing this error when you try to build your app or when you try to run it (with no rebuilds since using the previous version) o ...Show All

  • Visual C# Static Classes being referenced by multiple processes within the GAC??

    If I have multiple processes accessing the same assembly within the GAC, and within that assembly a static class's members are initialized by one of the processes, the members remained initialized for all processes accessing the assembly correct I am assuming so by way of this quote on MSDN: Static classes are loaded automatically by the .NET Framework common language runtime (CLR) when the program or namespace containing the class is loaded. No, the static class values are not shared between the apps because each app that uses the CLR loads its own instance of it (both the class and the CLR) and each would end up with a separate copy of your class’s static methods and the values they access. ...Show All

  • Visual Studio Designer not saving a property change

    Hi, I have created a component. The component has a property which is an array of strings. If I modify this array in the property browser window then the VS designer notes that I have changed the property and saves (serializes) the changes. However if I change the string array in the component code the VS designer does not realize that the property has changed and does not save it. It seems I need to make a change using the property browser in order to ensure my changes are saved. Any ideas or comments Joe Are you manipulating the control property directly if so, you need to use a PropertyDescriptor instead. See my article: HOWTO: Manipulating controls of Windows forms from Visual Studio .NET add ...Show All

  • Visual Studio Express Editions Path confusion

    Hi there, I have an xml file that I am trying to reference in my project (branding.xml). Now in my head it should be in the same location as all my source files, or at the very least a directory off of that. However when VB runs in debug mode it tries to read the file from "MyProject\MyProject\bin\Debug\branding.xml". How do I reference a folder off the root project folder that will also work when compiling a final version Or am I forced to copy my data file that I want to read into this bin\debug folder, and then also the project root for final compilation.....which is just plain crazy In VB6 it used to be app.path, which referenced the same directory in both debug and final compilation. The equivalent AppDomain.Curren ...Show All

  • Visual C++ Bug under X64 - ATL Performance Counter DLL

    Hi guys, None of my ATL DLLs with Performnace Monitor objects generated by the wizard are working under X64, although they work smoothly under X86 and IA64. I thought that there could be something wrong with my code, but I built a genuine X64 version of the MS PerformanceScribble Sample and it did not work too. http://msdn2.microsoft.com/en-us/library/z1xc8ye3(VS.80).aspx Under X64 machine the registration is successfully performed, but the counters do not appear in Performance Monitor. After a couple of minutes, I found the following error messages in Event Viewer under PerfLib source: ------------------------------------------------------- Performance counter data collection from the "Perf_PerformanceScribble" service has been ...Show All

  • SQL Server Remote access with Reporting services

    I downloaded SQL server Express w/ Advanced services with the intention of using reporting services on my webhost server and SQL on a seprate data server. I made a report in VS2k5 which ran perfectly off of a local server but when I tried to deploy my reports to the web server it informed me that The feature: "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services. Can that be so! Is it as it seems, that Reporting services for SQL Express simply cannot connect to a remote DB, or did I simply fail to configure my service properly and if it wasnt built to remote connect then is there a work around for this issue Thanks in advanced I suggest anothe ...Show All

  • Windows Forms closing application

    on desktop taskbar when user select any application and make a right click on mouse, it displays pop menu. Is is possible to catch event for c# application when use select "close" or "close group" menu item under this pop menu also it there anyway to disable this "close" or "close group" menu items Yes you can do this. Select the form, in the properties window goto Events. Goto Closing and type in a name then hit enter, this will automatically generate the event. Then just do a simple MessageBox to test. I just did one as a test and this was the code. private void OnClose(Object sender, System.ComponentModel.CAncelEventArgs e) { MessageBox.Show("Progr ...Show All

  • Software Development for Windows Vista Workflow.targets in msbuild directory

    I am trying to setup a development environment on Vista rc2. I downloaded all of the latest and greatest from the Vista Developer site ( today ). Windows sdk, vs 2005 ( release version ), wpf/wcf vs 2005 extensions, wf vs 2005 extensions. Got it all installed, but the Workflow.targets file that is supposed to be in the MSBUILD/./././v3.0 directory aint there. Is there somewhere online that I can get it What install was supposed to put it there How did I screw this up Any help is appreciated Paul The workflow target files, Workflow.Targets and Workflow.VisualBasic.Targets, are included with Vista RC2. You should not need to install anything to get the files. Just make sure that “Microsof ...Show All

  • Visual FoxPro SELECT .... INTO TABLE <existing table>

    G_TempDBF = "C:\scratch\" + SUBSTR(SYS(2015), 3) + ".DBF" SELECT field1, field2 FROM myTable INTO TABLE (G_TempDBF) USE (G_TempDBF) ALIAS CUSTOMER INDEX ON field1 TAG field1 I have created a temporary table, stores the retrieved records into it and alias it CUSTOMER How can i reuse this temporary table for other SELECT statements SELECT field3, field4 FROM myTable INTO CURSOR CUSTOMER ---> results in an error saying Alias CUSTOMER has been used. Hi, I am not sure what are you trying to achieve. However, you can use ZAP to delete all reocrds, and then use APPEND FROM or INERT INTO ... SELECT ... FROM ... statement to replace records. Beside, you can try ...Show All

  • Software Development for Windows Vista Where can I host the runtime in a SOA based environment?

    Hello everybody, I am planning to use Listen, Delay and event-based Activities in a sequential workflow like the one in the hands on labs WF HOLD01. In this case the manager can approve the report, otherwise it will be escalated if a certain time-limit is exceeded... Now my question, how and where can I host the runtime if my architecture consists of web services (or respectively wcf in aspnetcompatibility mode) and the workflows take several days So far I hosted the runtime in an Application variable and after each service request I saved the instances through the manualworkflowscheduler service in the database, but now I want to add a LISTEN Activity and inside a DELAY Activity which executes after 3 days, so I must not save th ...Show All

  • SQL Server SSMA Migration Tools

    hi all I am Facing problem for using this tools (Migrate from Sybase to SQL Server 2005) when i trying to connect to Sybase on Tools EM, this error apper Error Collecting Data . See the Inner Exception for Details please anyone can help in this issue or advice me what can i do thank's Hi, Did you ever get this issue resolved I'm trying to use SSMA w/ Sybase and get a similar error. Thanks...Mike :-) ...Show All

©2008 Software Development Network