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

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

RajDas

Member List

Dark Pontiac
Andrea Giovannini
fMarkf
Santosh Ransubhe
SAIC Albany
mlhuckins
luben111
ChrisBarth1
o s l e
Rischa
Jon Stroh
VSFW3
dan77062
Hooper
Stikstofman
Felipe Heidrich
Dawchiks
young
laboremus
hmayer
Only Title

RajDas's Q&A profile

  • Visual C# c++ char*

    I have a c++ structure c++ typedef struct{ char *pDataBuf; long nSize; }FRAME_TYPE; c# struct FRAME_TYPE{ char* pDataBuf; long nSize; } C# gave me an error. I read to use byte instead of char for unmanaged c++ but in c++ char* is used as a null terminated string. What do i need to declear my char* as in c# Isn't there a way for this to work without using unsafe code How can I call unmanaged c++ functions that expect: char* int* byte* bool* void* ...Show All

  • SQL Server shrink tempdb

    I have a sql2000 server that has a 24 /7 uptime. The tempdb size is increasing rapidly. it was 4 Gbs and i restarted the sql server to shrink the tempdb size which worked fine. but now after 1 week then tempdb size is almost 1.5gbs. Is there anyway that i can shrink the tempDb without restarting it. Asking the users to stop using for a certain timeframe after every month or so seems like a hassle for the users. Steven Trout wrote: I found the same result with a search engine, but is there any reason not use to SQL Enterprise Manager If you right-click on the tempdb, All Tasks, you get the option to shrink the database there. Is that a bad idea No. That's equivalent to 'dbcc shrinkdatabase'. ...Show All

  • .NET Development Xml and database

    hi frnds, how do i put the data in a xml file into the database can anyone paste sample code out here. thanx in advance. rawky Hi, you can simply read your XML as a source of data for DataSet like this DataSet ds = new DataSet(); ds.ReadXml("path"); second step is to update/insert your DataSet into the database using DataAdapter. SqlDataAdapter adapter = new SqlDataAdapter("sql", SqlConnection); adapter.Update(ds, "tableName"); before doing this you have to have an Update or Insert command created and assigned to the data adapter like this: adapter.UpdateCommand = cmd; where cmd is an instance of SqlCommand. this will tell your adapter how to map columns from DataS ...Show All

  • Windows Forms Control DragDrop event

    Hi, I have my custom control on the toolbox and wanna handle the event that is fired when the usar drags the control from the toolbox to the form designer in design-time. How can I do this what is the event I tried onDragDrop but it is never fired. really appreciate your help, D You'd have to write a Visual Studio extension to do that. Your control has not been instantiated during the drag-drop from the toolbox to the form so it can't intercept anything. What are you trying to accomplish by knowing when a control is dropped on a form ...Show All

  • Visual Studio 2008 (Pre-release) Custom Window

    I am creating a custom window that looks similar to the Office 2007 UI. I was able to create an appropriate ControlTemplate/Style with dragging and "Close", Maximize/Minimize buttons etc... But here' the question: What's the best approach to have it encapculated in the separate class/component so I can easily re-use this style for other windows in the app Well, Alex, one ulgy trick you can do here is that, you define the OfficeWindow class in the standalone assembly, and apply the following attribute: [assembly: XmlnsDefinition ( "http://schemas.microsoft.com/winfx/2006/xaml/presentation" , "Lean360.Application" )] This can fool the XAML parser into believe that your custom Of ...Show All

  • Windows Live Developer Forums Livecall.exe backgound process

    I have been using Windows Live Messenger for months and today I clicked on the livecall button option. I closed the livecall window and never made any changes but now whenever I open Live Messenger it automatically loads the livecall.exe process which stays resident and uses 17-18MB of ram. This process is just a resource hog as I don't use the service at all and can find no way to set Live Messenger to not load this process upon startup. Can anyone tell me how to tell live messenger to not load this process on startup anymore I am using Windows Live Messenger version 8.1.0178.00 on XPSP2. To get rid of this pesky RAM-hog, the secret is: 1) move the livecall.exe, the softphone.dll's (x 3) and the pcsexe ...Show All

  • Visual Studio Team System Powertoys documentation?

    Ok, this is probably a dumb question but I just installed the Sep 07 release of TFS powertoys. But I haven't had any luck trying to find some associated documentation - doc, blog posting, anything Can someone tell me where this is available Nevermind...I found the install path ( C:\Program Files\Microsoft Team Foundation Server Power Toys ) and from a previous post here and saw the Word doc. ...Show All

  • Visual C# How to navigate between Forms using Back Button.

    Hi All, I'm new to this Forum - as a new learner of C#. In one of my test programs in .NET Compact Framework I have an initial form named FormA. FormA consists of a Button, clicking which FormB opens up. FormB has a Back button, which is supposed to take me to the initial page FormA once again. How do I achieve this In my Initial FormA the Button click that will open up FormB looks as below: private void cmdButton1_Click(object sender, EventArgs e) { // Create an instance of the form. if (Global.refFormB == null) { Global.refFormB = new FormB(); } // Hide the initial FormA this.Hide(); // Open up the FormB Global.refFormB.Show(); } Where Global class ...Show All

  • SQL Server Dynamically Change SSIS For Each Loop container

    Hello, I would like to modify "Files" attribute of the Foreach Loop of type File Enumerator.  This attribute is used to set the mask (for example *.txt) to specify which files to include in the selection.  I need to be able to change this mask dynamically depending on package global variable.  Is this possible Thank you! Michael More details on How To get to the Extressions Property - Open the ForEach Loop Editor by double clicking ForEach Loop Container. Select Collection on left. Click on the + sign on Expressions Select FileSpec for Property and On Expression select the Global Variable Name. (which holds the file property such as *.txt) Thanks, Loonysan ...Show All

  • Visual C++ VS8 resource can't open include

    I am using VS version 8.0.50727.42 (RTM.050727-4200). I converted a VS 2003 project, and I am trying to compile. The project depends on WTL7.1, which I downloaded and set the project compilation paths to point to the appropriate WTL include directory. During compilation I get to a "pddm.rc" file that references a WTL file, like this: #include <atlres.h> When the compiler hits that line, it says: Error 1 fatal error RC1015: cannot open include file 'atlres.h'. However, my project paths are set correctly - and other header files from the same location as atlres.h are found just fine. This problem seems to be unique to an include being processed from within a resource file . Indeed, I've found someone else o ...Show All

  • SQL Server Migration of VB Net 2005 (Pro) app using Access 2000 DB (DAO & ADO) to SQL Express

    I've downloaded the migration tool to convert an Access 2000 DB to a SQL DB. The VB code utilizes DAO (3.6) for hourly automatic compaction and the creation of an encrypted security database. ADO is used for the data maintenance functions. I expect the current connection methodology of ODBC using Jet 4.0 will need to be modified (many articles here address this). All the SQL code is inline and also must be modified. The Coldfusion code utilizes Micrsoft Access with Unicode via an ODBC connection with only SQL Select statements. At another job, I migrated an Informix 7 database to MS SQL 7 and for the most part the SQL code remained the same except for the wildcard spec from * to %. I'm looking for insights and/or shortcuts on this effor ...Show All

  • Audio and Video Development How to create INPUT element from JS?

    Hello All I tried to create INPUT element from JS, but I couldn't do it (I don't see text in HDiSim). My test project: http://slil.ru/23567285 How can I do it P.S. HDiSim v0.1 See Z.13.1.1.3 of the spec Using the XML DOM API's to alter the DOM does not immediately affect the live loaded document,. You need to call document.load() after you add the element. Although, that should trigger the setMarkupLoadedHandler, so you will probably want to modify your script so that the modification doesn't happen in OnLoad_ ...Show All

  • Visual Basic Two-pronged Question

    Hi, I'm fairly new to VB and learned on VB 2003. I just upgraded to VBE 2005. I'm trying to make a multiple document reader and modifier. My questions are: 1) To be able to view the most documents, is it better to use a Rich Text Box or something else. 2) Is there any information floating around out there on making document readers I'm trying to be able to read MS Word documents, Works documents, Text files, Rich Text files, and an AutoCAD lisp file(its basically a text file). If anyone can point me in the right direction it would be appreciated. Thanks in advance for the replies. how exactly do you mean by document readers you mean reading other file formats you will have to create this from scratch yourself, ...Show All

  • SQL Server Can't Select Data Mining Technique....Cause: Issue with Firewall Software

    Colleagues: I'm working through the DM tutorials and I can't select a data mining technique when creating a new mining structure in BI Studio - BI Studio locks up totally. Have installed SQL Svr 20005 SP1 and components from feature pack. Analysis Server service is running, have set the properties in the DM project properties to the running instance of Analysis Services. Have read the various posts on the forum and have double checked my configuration - all seems as it should be. All suggestions appreciated - very much looking forward to working with the technology. Michael ( michael.dataSense@sympatico.ca ) Hi Michael, As far as I know, the firewalls track Internet access per process; ...Show All

  • Windows Forms designer can't load form. Where is 'more information'?

    after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info about whats going on   WM_THXADVANCE thomas woelfer http://www.die.de/blog ...Show All

©2008 Software Development Network