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

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

Adhi78

Member List

J-Pixel
R.D.
SQLBOY36
Federico Raggi - MSFT
jturpin
Amos Soma
crazyabtdotnet
robmiller214
ekynox
noorbakhsh
aboeing
user11
pessi
MrJP
Computer Guy69146
yanivpinhas
dakota367
bsam
Terry Smith
LouArnold
Only Title

Adhi78's Q&A profile

  • Visual C# How do I bundle a DLL into an EXE in c#

    I have a c# program that uses a dll also written in c#. How do I bundle the dll into the exe so that I do not need to include the dll with my program You can use ILMerge to merge multiple .NET assemblies into a single .NET assembly, regardless of the language used to generate to source assemblies. ...Show All

  • Visual Basic addhandler for inherited event;

    Good morning. I have an abstract class, lets call it MyAbstract, that defines and raises an event 'anerror'. I have a subclass, call it MySubclass, that raises the event by calling a method in MyAbstract, raiseErrorEvent(....). My problem is this: I instanciate MySubClass from another class (MyMainClass) but cannot add an event handler. If I instanciate MySubClass, using withevents and the pulldown menu an event sub is generated and it works fine. If I use the addhandler keyword, however, it does not. See the example below; This works: dim withevents aSubClass as MySubClass This doesn't: dim aSubClass as MySubClass addHandler aSubClass.anError, address of errorHandleSub I don't get an error, but I get an und ...Show All

  • Visual C++ unsigned short vs. wchar_t in SAX2 API

    Hi all, I am writing some codes to parse XML document using SAX2. The program works well in vc6 but can not compile in vs2005. I define a class CIndexHandler to parse the XML, here is definition: class CIndexHandler : public SAXContentHandlerImpl ... class SAXContentHandlerImpl : public ISAXContentHandler ... The problem is that, some functions in class ISAXContentHandler have parameter type "unsigned short", but in class SAXContentHandlerImpl they are "wchar_t". This is OK in vc6, but can not work in vs2005. eg. ISAXContentHandler : IUnknown { virtual HRESULT __stdcall startPrefixMapping ( unsigned short * pwchPrefix, int cchPrefix, unsigned short * pwchUri, int cchUri ) = 0; ... class SAXContentHand ...Show All

  • Visual Studio 2008 (Pre-release) When can we expect WCF (Indigo) support ?

    Ok so it neat to be able to call ASMX Web services, and expose my Workflow as an ASMX Web Service. But I am really into WCF/Indigo Services right now. So it would be really neat to be able to be able to 'Add WCF Service'.  Sure to come when Vista is released, but I was kinda hoping to orchestrate my Indigo Services earlier.  Anyone know when we get WCF support Jules   Hi Jules Is there any specific problem you are getting in orchestrating your indigo service Though the WCF is in the betas but still it is more stable than previous version. please try out june or july CTP for the same .. Hope it helps regards Nishith Pathak http://dotnetpathak.blogspot.com ...Show All

  • .NET Development BackgroundWorker InvalidOperationException

    Hi folks, I'm trying to put together my first usage of BackgroundWorker. The problem is that the compiler is throwing the following exception in Debug mode: A first chance exception of type 'System.InvalidOperationException' occurred in System.dll Once that happens, no code after ReportProgress runs (the Debug::WriteLine() func does not execute). The exception is being thrown anytime I try to call the Worker's Report-Progress method from within its Do-Work method. My Do-Work method is as follows: void backgroundWorkerFolderAnalysis_DoWork( Object^ sender, DoWorkEventArgs^ e ) { BackgroundWorker^ bgWorker = dynamic_cast <BackgroundWorker^>(sender); bgWorker->ReportProgress(0); Debug::WriteLine("Poin ...Show All

  • Internet Explorer Development IEGetWriteableFolderPath, folders guids

    are where any definitions for folder guids presented already if yes, where can i find them Than you. Yes the GUIDs are known folder IDs, they can be one of FOLDERID_InternetCache, FOLDERID_Cookies and FOLDERID_History. This function is specifically to access the cache folders used by Protected Mode IE. If you are looking for a location to write while in Protected Mode IE you should use the path returned by SHGetFolderPath with FOLDERID_LocalAppDataLow ...Show All

  • Smart Device Development socket programming

    hai everybody iam trying to connect to ftp server from ftp client, the connection is establishes also and i can download the files from ftp server also but , i downloaded the files from particular path "c:/inetpub/ftproot" only. iam unable to access / download the files from other paths. if i want to do download the files from other paths in the ftp server what i have to do.. Can anybody help in this regard familiarize yourself with the FTP protocol. if you're using sockets and not an ftp client object, you'll need to use commands such as cd, get, mget, put, mput, lcd, del, mdel, etc. and so on ... ...Show All

  • Connected Services Framework Move CSF databases to a different SQL Server Instance

    Hi, I need to move the databases created by CSF to a different SQL Server Instance. Where and what will be the changes required to be done to get the system running again. Ashish Hi Ashish and VDeevi, Thanks for your notes - all of the CSF databases can be moved using the following process: (a) Stop message flowing to all instances the connector, ideally this will be done be stopping the up-stream service(s). (b) Stop the application pool in IIS, or use iisreset. (c) Use SQL Server tools to attach/detach, or backup/restore, or even log-shipping to move the database to a new SQL Server machine. (d) Verify, using SQL Server tools, that the database is intact and functioning. (e ...Show All

  • Windows Forms DataGridView in windows application

    Hey all I"m new to c# win app, eventhough I wrote some projects for asp.net using c#. My question is about DataGridView. I have added this control to my application and binded it to my access database. I run my application, added some rows to the grid and made some modifications to existing rows but when I exit my program the changes and addition of the new rows is not saved in my access database. How do I make these changes saved  Is there any "autosave changes" property :) Thanks in adavance :) THANKS!! :D The insert/update and delete commands were all already present, all I was missing is the update :) Thanks a lot guys :) ...Show All

  • Visual C++ Where do I put my .h and .c files?

    Newbee to Visual C++ 2005. I have some algorithms I wrote for other win32 console applications. I'm pulling out my hair trying to use them in Visual C++. Basically I have a .h file which declares the functions that are in the .c files. These are simple functions, like calculating the area of a triangle and square! VC++ generates a lot of files, not sure where to #include "myfile.h" and #include"myfile.c", or I'd be happy just cutting and pasting the code right into one of the main files directly. I'v tried putting them everywhere, including the Form1.resX underneath this: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are ch ...Show All

  • .NET Development Default Credentials not working for Basic Authentication from IIS server to IIS Server

    I have some .NET 2.0 Objects hosted inside of IIS that are accessed via .NET remoting. The Primary Website that the objects are hosted in is part of an application pool that logs on as a specific identity (e..g a Domain User) and the website is configured use Digest Authentication.  The objects on the Primary Website access another set of .NET 2.0 objects via a single remoting uri that points to a network load balance that represents two web servers.  The two Load Balanced web servers are not on a domain and they are configured to use Basic Authentication. My problem is that when the objects on the Primary Website attempt to communicate with the Load Balanced web servers they are not sending username and password infor ...Show All

  • SQL Server Reading Values from an Xml Data Type Column ON my SQL Reporting Service 2005

    I have field in DB where we have one field of xml data type We have to read the values in the Reports Layout wat is the steps so that i can read it in Report Layout.. <Root> < TestsSafetyItems > < KeyDateTime > 2006-03-22T17:27:16-07:00 </ KeyDateTime > < UnitId > AA986137 </ UnitId > < ItemId > 13 </ ItemId > < Cost > 0 </ Cost > </ TestsSafetyItems > < TestsSafetyItems > < KeyDateTime > 2006-03-22T17:27:16-07:00 </ KeyDateTime > < UnitId > AA986137 </ UnitId > < ItemId > 13 </ ItemId > < Cost > 0 </ Cost > </ TestsSafetyItems > < TestsSafetyItems > < KeyDateTime > 2006-03-22T17:27:16-07:00 </ Key ...Show All

  • Visual Studio Express Editions datagridview problem

    hi all.... i have a datagridview which contain a combo box........and i want to bind the available data from database to the combo box..........and when user select on the data in the combo box, its information will be show ... now i facing problem in binding the data from database to the datagridview's combo box.... so, anyone have an idea regarding this problem thanks To achieve this, first add another binding source to your form for your Combobox Items table (eg Type) . Then for the combobox column in you datagridview set its type to combo box. Then set its datasource to the Type binding source, displaymember=typename, valuemember=typeID This will set up the combobox items but this is ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do you modify/control resolution, refresh rate, present interval etc?

    I've seen a few partial answers to this question, but as of release 1.0 they are no longer correct. As it took me hours to find this solution I'd like to post it for others to see. To be able to control your game's appearance you need to hook the "PreparingDeviceSettings" event then make your modifications. Firstly, add a new event to your game's main function call like this: graphics.PreparingDeviceSettings += new EventHandler<PreparingDeviceSettingsEventArgs>(graphics_PreparingDeviceSettings); (Note: Put this just under "graphics = new GraphicsDeviceManager(this);" Now you can write the event handler function: void graphics_PreparingDeviceSettings(object sender, PreparingDeviceSettingsEventArgs e) { ...Show All

  • Windows Forms Datagrid bug?: VerticalSbar don't appear if i load a binding source with a thread at runtime...

    i have binded a datagrid to bindigsource, after i fill a bindingsource with a thread. (using standard method) in debug mode the vertical scroll bar appear and work fine, but when i compile to exe and lunch it... the datagrid don't show the vertical scroll bar... why ty :) the binding was made when i drop the datagrid on form by data source window. when i call the trhead the binding link to datagrid altready exixst. After, if i'm in debug mode it work fine, if i complie it to exe don't work. if i set the bindingsource on datatagrid after thread end, don't work. what i do ...Show All

©2008 Software Development Network