Software Development Network Logo
  • Smart Device
  • Microsoft ISV
  • Visual J#
  • Visual Studio
  • Windows Live
  • Game Technologies
  • Windows Vista
  • Visual C#
  • Windows Forms
  • Visual FoxPro
  • .NET Development
  • VS Team System
  • VS Express Editions
  • Architecture
  • Visual Basic

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

neuber

Member List

Robin Message
morning_cloud
SM-007
PersianAmir
GlenAtMotorola
tendresse
fixmycomputer
skolima
jjrdk
bhowden
alunlee
shadow_woman
msebald
Mohammad Iqubal MSFT
Tom RS
JohnDale
uXuf
Sweed
paschott
Corbon91
Only Title

neuber's Q&A profile

  • Visual Basic Getting the machine name using VBA

    I am using VBA for Excel. I have a secondary spreadsheet that is opened at the workbook_open event of a primary spreadsheet.  This secondary spreadsheet is in a different location, dependent on whether I'm using my desktop machine or my laptop.  Currently, I have to adjust the secondary spreadsheet's pathway manually.  I want to do this automatically based on the machine name where the primary spreadsheet is being opened (or where Excel is currently running).  Is there a way to read the system information from the current machine, get the machine's name, and then determine which path to use Thanks. ...Show All

  • .NET Development Unmanaged application using managed library can't find referenced assemblies

    There's a C# application with some DLL's. There's an unmanaged application (Total Commander) and I want to create a plugin for it that uses some functions from my C# libraries. I figured the best interface is a managed C++ library: it implements the unmanaged plugin interface by exporting the necessary functions, and it calls into my managed code, so I don't have to reimplement that library. Problem is, it can't find the referenced assemblies (FileNotFoundException, File or assembly name ... or one of its dependencies blah blah). It finds them when they're in the GAC, but for other reasons, these assemblies shouldn't be installed there (they ...Show All

  • Windows Forms How to add a launch condition based on whether a task is running

    I want to add a launch condition, so that the install will not continue if my program is already running. I have seen lots of documentation on how to search for a file and use that for a condition. Is there a way to get a files state, or to check for a process. I am using VS 2005 to create my setup. There's nothing in a VS setup project to do that. BTW, if the running process you want to look for has a window, Windows will prompt the user to close the app anyway, just in case that's what you're worried about. ...Show All

  • Visual Studio 2008 (Pre-release) Limited Internal Smart Client Depolyment Upgrades (How to?)

    We are considering building the next version of our internal smart client application using WCF for comminication.  If we were to deploy this newly built smart client to a number of our call center desktops for testing, qa, etc., what would be the process for updating the smart client when future releases of WCf are released   Could we deploy the runtime initially with "click once"   Would we then have to manually remove the runtime components from each desktop before upgrading to the latest version   Thanks, Christian Hi, Christian: You can deploy the WinFX runtime components u ...Show All

  • SQL Server Can't reference a Group Field in Footer SUM expression!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    THERE HAS TO BE A SOLUTION FOR THIS!!!!  How can I get around the limitation in SSRS 2005 of being able to SUM on a Table's Group field from my FOOTER Expression!!!  for unique situations where I need to do so It's driving me nuts My footer field's expression: =SUM(Fields!GrossGoal1.Value, "CustomerNumber_Grp" ) The GrossGoal1 group field that I'm trying to reference right above it in the same table column has: =((Fields!FeeGoal.Value) / Fields!FeeSchedule.Value) * 100 Error: [rsFieldReference] The Value expression for the textbox ‘GrossGoal_gt’ refers to the field ‘GrossGoal1’. Report i ...Show All

  • Visual Basic XML to Pipe Delimited or .tab in VB?

    XML to Pipe Delimited OR .tab in VB    Does anyone know how I can import a xml file & export into a Pipe Delimited or .tab file in VB   Having a hard time finding any documentation on this... any help is greatly appreciated...... thanks... mniccole jacksonville beach, fl Can you verify what the correct reference to system.data is thanks so much for your help, I've totally confused myself... haven't written any vb in quite a while... ...Show All

  • Visual C++ Registry editing

    I'm having trouble creating the code for a button to change a couple of registry keys. I've searched google for hours and hours now, but all the code I can find about registry editing doesn't work in my version (2005 beta 1). I can't even get the code from MSDN to work So my question is simple (I hope): Let's say I want that button to change the value from Username in the map HKEY_CURRENT_USER\Software\Blasoft\3dgame\ to Savarage, how would i do that Thnx! This works for me: Registry::SetValue(keyName, "Username" , "Scamp" ); Registry::SetValue(keyName, "Password" , gcnew array <Byte>{ 0x ...Show All

  • Visual C++ Open File Dialog

    Hi I`m trying to play a mp3 file with c++ a console application.. so i need the exact path to it.. i figured out how to show the open file dialog .. but i still have some problems CODE: OPENFILENAME ofn; char szFileName[MAX_PATH]=""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); // SEE NOTE BELOW ofn.hwndOwner = GetActiveWindow(); ofn.nFileOffset=1; ofn.Flags=OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT; ofn.lpstrFilter = L"Text Files (*.mp3)\0*.mp3\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN ...Show All

  • Smart Device Development continuous integration!

    Hello people, Is continuous integration possible with .Net CF Does CruiseControl.Net support smart devices project and do automated builds I have another question. Can I write my class libraries in .Net and write my UI alone in .Net CF Will .Net CF interact with .Net project dlls Sorry if i sound inane, I have just started working on .Net CF. Thanks for your time and your replies will be appreciated. Q1: Yes CruiseControl.NET does work with NETCF.  OpenNETCF.org Smart Device Framework uses CC.NET for automated builds.  Take a look here for the build script examples http://vault.netcf.tv/Vau ...Show All

  • Smart Device Development Designer Preview

    Hi, how can I obtain the information, the current instance of a Control class is running in the Designer preview I didn't found a member that supplies me that information in the Compact Framework. Thank you! Yes, it's supported in CF 2.0. See the code below. bool designTime = false; if (this.Site != null) { designTime = this.Site.DesignMode; } // If "designTime" is true at this point // then you're in the designer. ...Show All

  • Visual Studio 2008 (Pre-release) DLinq fails with class model implementing System.Data.IDBxxxxx interfaces

    In order to have better control on executiion of data objects like Connection, Command, DataAdapater and also to support portability, I have a class model in place that implements the IDBxxxx interfaces and delegates the call to the underlying Provider objects. for e.g I have a GenericDBConnection class that implements the IDBConnection interface and delegates the calls to either a SqlConnection or a OracleConnection depending on the connection parameters. I have similar implementation for IDbCommand, IDBDataAdapter, IDBTransaction etc. I am successfully using this in my current project but it fails with DLINQ, below is the sample code that ...Show All

  • Visual Basic Add buttons to the title bar of all open applications

    I am trying to mimmick Nvidia's nview buttons that appear on the top right of the title bar for all applications that are open or opened. If someone could point me in the right direction on where to start that would be great. I have attached the image of exactly what I am trying to do. http://www.doublesight.com/images/titlebuttons.jpg Doing what you describe is going to require quite a bit of WM_NC*/WndProc work to get the job done just for the windows your application owns. There might be an easier way to accomplish the same goal.  What is it you want to do   Thanks, Chris Mayo ...Show All

  • .NET Development COM dll info in .NET

    In VB we could use "tlbinf32.dll" to obtain the details of any dll like the Version, GUID etc. I am trying to implement the same in C# using the dll. I could get the version info and GUID. How do we retreive the Threading Model for the DLL. Can we use System.Reflection in C# to get the same including Threading Model That Regspy tool I referred to will show you the registration data. The source is there if you need it. I don't know what RegCap does, but the name implies that it actually does register the Dll by calling DllRegisterServer and capturing the registry changes. Regspy works by calling DllregisterServer af ...Show All

  • Smart Device Development Webbrowser Control - .net cf 2.0

    Hello, I’m having a problem with an application i’ve been developing with VS.NET 2005 beta 2 and currently being developed under VS.NET 2005 Professional Edition (both with Windows Mobile 5.0 SDK). Compact framework 2.0 seems to have some differences between its beta 2. Now, links ("<a>") on the webbrowser control don’t work anymore with my pocket pc 2003 device. I don’t even get the navigating event (it does work on emulator on windows mobile 5.0). It seems WebBrowser is validating the href input since my href is a number. I tried using http:// and file:// and it did work with valid files/urls only. I want to use numbers only (no http ...Show All

  • Smart Device Development Z Order of Forms - SendToBack() BringToFront()

    I've created a modeless form, and everytime I create it, regardless of using BringToFront() on it, or send to back on the parent, I can't get it to come to the foreground. Is this function not implemented in .NET CF Thanks. Any solutions I know nobody has responded, but that TopMost property saved me from a lot of headache. Of course, I had to use it in a hacky way, namely: this.TopMost = true; this.TopMost = false; but it works nonetheless. Thank you. ...Show All

©2008 Software Development Network