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

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

Arnabmsdn

Member List

Carel Greaves
Jonathan Wong
Snickel65
Jstun
mrshrinkray
Alistair Leslie-Hughes
DevelopperX
Ken Harris
Andrey Makarov
RichParker
GrandpaB
RMan54
Siggy01
Rhubarb
hotaruu
Kwellens
madenci
Lino17580
JAMES MURRAY
enric vives
Only Title

Arnabmsdn's Q&A profile

  • Visual Basic Do Build Event scripts support environment variables?

    Can I use %ProgramFiles% in a post build event script VS does not appear to have a "macro" for the Program Files directory, and the relevant MSDN topic makes no mention of environment variables. Thanks! -Doug You can utilize the macros IDE and use system.environment to get a list of environment variables as well as select an environment variable: Dim WindowsDirectory As String = System . Environment . GetEnvironmentVariable ( "windir" ) ...Show All

  • .NET Development load any number of dlls for plugin rather than hardcoding the assembly/type.

    The following code successully loads into a panel what was previously an .ocx - now a dll. assembly1 = Assembly.LoadFrom ("TrackPanel.dll") Dim t As Type = assembly1 .GetType ("TrackPanel.Panel") Dim c As Control = CType( Activator.CreateInstance(t), Control) Me.PanelContainer.Controls. Add (c) What I want to do is load any number of dll's from a specific directory rather than having to hardcode each one given the following ildasm layout. (at least for this particular dll) namespace TrackPanel class TrackPanel.Panel method MyName() ' returns a string I am thinking that with so many supporting dlls (axhost/interop/etc) required for side by side mechanisms, I really need to use a config file ...Show All

  • Visual C++ How do I compile c++ code into a EXE file

    I am new with MS Visual Studio, a beginer if you will, I hope somebody can help me with this problem, I need to know how to make regular c++ without the visual part, code into an EXE file Snake_122 wrote: I am new with MS Visual Studio, a beginer if you will, I hope somebody can help me with this problem, I need to know how to make regular c++ without the visual part, code into an EXE file You should have a batch file such as "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat", which initializes all environment variables you need to compile your source file(s) such as Bite Qiu proposes. ...Show All

  • Windows Search Technologies WDS is slowing down System Performance

    Hi guys I’m hoping you can help me I already posted on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1111995&SiteID=1&mode=1 but thought that this would be the better forum to post this too. The user I am working with has WDS installed but is having quite a bit of performance issues and this is a newly bought and installed desktop. When we look at task manager it is the searchindexer.exe that is taking up all of the CPU power and disk writes. The user has Windows XP and Office 2003 I checked the client’s computer and currently he does not have any anti-virus or backup software installed but he does have running in the system tray and startup VNC server, Trillian, HotSync, Adobe Photo Downloader, ...Show All

  • Software Development for Windows Vista SQLDMO - AppVerifier error

    Hi, I'm using SQLDMO.dll library in my project and it seems to cause AppVerifier errors. 1. while unloading ( both versions of SQLDMO - from SQL 2000 SP3 and SQL 2005 ) causes AppVerifier TLS error (on Vista RC1 and WinXP). 2. There's an extra error on Vista RC2 while initializing _SQLServerPtr from SQLDMO library ( "critical section has been already initialized" ). Here's sample code: #import "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqldmo.dll" rename( "GetUserName", "DmoGetUserName" ) int _tmain( int argc, _TCHAR* argv[]) { HRESULT hr = ::CoInitialize(0); { SQLDMO::_SQLServerPtr spSrv( __uuidof (SQLDMO::SQLServer) ); } :: ...Show All

  • Visual Basic cant find Debug -> processes window ?

    Hi i am using Visual studio 2005 framework 2.0.50727 version i cant find Debug -> processes window like in visual studio 2003 version any idea sujithf right click in the tool bar area and then select 'customize' from the context menu... then select the 'commands' tab and from the catagories list select 'debug' and then from the 'commands' list drag "attach to process' to the debug window and then close the dialog...this will place the command on your debug menu ...Show All

  • Visual Studio Team System Monitoring Version Control Activity

    My company has its own quality assurance system and for now we only want to use TFS only for version controlling. At the moment we are using VSS for version controlling. Now when a programmer check's out/in, adds a file or does any operation in VSS which influenses the project a dialog pops up requesting from him what task this action is for and subsequently the programmers action is recorded in our Quality assurance system. So if the programmer eg checks in a file he gets a popup dialog, selects the appropriate task and the file checkin is logged with the task in our system. In VSS we do this through a COM object that VSS loads automatically on startup. I have been trying to find a way to do this in Team Foundations Version Contr ...Show All

  • Smart Device Development is there a way to detect what type of keyboard/keypad the device is using?

    hi, is there a way to detect the type of keyboard/keypad the device is using For example a qwerty keyboard or a T9/T12 keypad is using by the device (smartphone). Is there any API to solve the above problem or anyone has any idea to solve the problem thanks in advance Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati ...Show All

  • Visual Studio Prepopulate compartment with items when creating shape

    Hi, I'm constructing a DSL for DAL generation (how original ...) I have a compartment shape with two compartments, a standard one populated when the compartment shape is added to the designer and a custom one where you can drag stored procedures to. I could not find anything overridable to prepopulate a compartment with predefined items so I used the custom filter on a compartment map (which is actually for filtering an existing list,not for adding new items I think). Now all this works kind of nice, if I drag a new DataComponent to the designer I have a prefilled compartment. The only problem raises when I run the custom tool to generate the code. The prepopulated items do not seem to be associated with the datacomponent (altough visua ...Show All

  • Visual Studio Tools for Office Deployment of Outlook Add-In

    Hi, I've designed an outlook plug-in which will add a new button at the toolbar. On my machine, no problem. But when I make use of an .msi to setup on another machine, it dosen't work. From the COM Add-In menu, I can see the Add-In, but the button not appear, I double checked that: 1) The Office Primary Interop has been installed 2) .NET framework 2.0 has been installed 3) VSTO has been installed 4) Full trust has been granted to the All Code group of the user Any advise Andy Ho Hi, Can you send your code which adds the button to the toolbar Regards Kerem Kusmezer ...Show All

  • Visual Studio adding images to reportviewer

    Hello i have a problem about adding image to reportviewer control in Windows Forms. I want to add an image to my report from a path. This image changes during program run. When user wants to see report, then a different image shall be shown to user from same path. how can i give such an image path to reportviewer Thank you very much... You can mark the image source as being from a database. Then at runtime, retrieve the image and pass it to the reportviewer as part of the dataset. ...Show All

  • Windows Forms Error icons on my data sources

    I have been working with a .NET 2005 Windows Forms project for well over a year. Today, after I made some changes, my data sources window lists every data source with an error icon in front of it (icon with an exclamation point) and no contents (like of bindable fields). These are all object data sources that are bound to Windows Forms. I really don't want to delete them all, recreate them all, and rebind them all. And, interestingly, the forms that are bound to these data sources still work just fine... Anyone know how to get my Data Sources window back to listing the valid contents of my Data Sources so I can use them again Thanks! Go in your project / Properties / DataSources and open the * ...Show All

  • Visual C# Appliaction exit problem...

    Hi... In my application , i am creating a project which gives me a dll file i am using that dll in other project. I had added dependency for my application properly. From my windows application project i am starting some threads which are there in dll file. But when i exit my application...only my windows are getting closed(Forms) but my application is running in PC. Why my application i still running although i am exiting the application... Is i something with dll... Thanks in adavance, Vinay If you have written dll at your own, then you should set this property before you start the thread like this: Thread thread = new Thread(new ThreadStart(SomeFunction)); thread.IsBackground ...Show All

  • Visual Studio Express Editions Bug?: Unwanted C4819

    For the following program (encoded in Latin1): #include <stdio.h> #ifdef _MSC_VER #define POUND 0xA3 #else #define POUND '£' #endif int main() { printf("%c\n", POUND); return 0; } I get the following message under Chinese Windows: test.c : warning C4819 : The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss The point is that the offending line is not designed to work with MSVC. I do not think it right to give such a warning. I found this when compiling a cross-platform project. It has code like above for other platforms. Earlier versions of MSVC do not report this error. The suggestion is useless in my case (won't work ...Show All

  • Visual Studio Express Editions I receive no executable file when dl'ing Visual C++ Express

    Hello, 1st to Preface, I'm at work so some of the Acronyms might be slightly off, just have faith that I installed the right thing, cause I did :) Anyway, I installed Visuall C++ Express according to the directions using "Download now" and then installed the SDK (sp ) as well, just the little 1.2 mb file. However, no matter what I do, i cannot open C++ Express, because it doesn't seem to have downloaded the executable file for it... I have un-installed and re-installed 3 times with no success.... please help!!! also, the part where it says to add the "//" marks before those =true lines, i did that, And I also manually changed the lines in the "whateverfile" adding the /bin /lib/ and (that ...Show All

©2008 Software Development Network