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

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

udaijeet

Member List

Kannan.Perumal
anthonyy
tanya111
shawaj
Aoeuid
Steven Barden
WilliBald
EnergyCrush
TreysWild
Gerry Whitworth
Bryan C. Smith
erivas
Jitu
Kent Glossop
Orenk9
lovy0000
Markchr
Phil James Skyline Technologies
John Malkovich
Phantom_ab
Only Title

udaijeet's Q&A profile

  • Visual Studio Express Editions No sound using My.Computer.Audio.Play and Win98

    My app plays sounds when it is running and works fine on my WinXP machines but when I use it on a Win98 machine it doesn't produce any sound. The sound files (.wavs) are distributed with my app and stored in a folder in the same directory as the .exe Are there any limitations with using My.Computer.Audio.Play with Win 98 There are no limitations on using these functions on any computer with the .NET framework 2.0 installed on them. Do other sounds work fine on the Windows 98 machine - its not something as simple as the sound drivers arent setup correctly or mute is on on this machine. ...Show All

  • SQL Server Package executing correctly in Visual Studio, but NOT through Execute Package Utility

    I have created a very simply package which does the following: 1.  truncates tableA, 2.  Loads data from tableB into tableA 3.  Creates a derived column in tableB and fills every row with variable TestVar which has a value of "something" When I execute the task within Visual Studio, it executes properly.  The data in tableB is correct.  However, when I double click the DTSX through Windows Explorer and run the package through the Execute Package Utility, I see the following error in the progress window "Error: The product level is insufficient for component "Derived Column" (121). Any ideas Thank ...Show All

  • Visual Basic activeX control- error 424

    made a new ActiveX control in VB 6. A very simple one.there is one circle of the original shape control which is called oval_shape.the usercontrol is called math_circle. in the intialize and the resize sections of the usercontrol I do the following stuff: oval_shape.top = 0 oval_shape.left = 0 oval_shape.width = math_circle.width oval_shape.height = math_circle.height when I put the new ActiveX control on anykind of form I'm getting an error 424: object required. Obviously the math_circle cant be used because of this. anyone got an idea what may cause the problem thanks in advance. ...Show All

  • Visual Basic An easy question - how do i remark blocks of code?

    Hi this is a very easy question and im sorry for posting but i cant seem to find the answer on vb help or google! how can i remark blocks of code so instead of putting a ' before every line i can put one at the top and one at the bottom then the whole lot turns green. Like in java when you put: /* code */ surely this is possible in vb thanks As said above, VB does not support block comments. That said, the IDE does automate adding comments to several lines of code at the same time - select a block of code and click on the comment button (has several horizontal lines, with some becoming green when you selec ...Show All

  • Visual Studio Tools for Office Try this a different way... which VS version to pick?

    I need a little advice about selecting a version of Visual Studio.  I want develop apps as I do with my Visual Studio 6; with the new version I primarily want to do work in VB.NET, C#, and ASP.NET.  I also will be developing add-ins for MS Office, and some of my apps will need to connect to office objects (i.e. documents, worksheets, etc.) and do work against them. In order to do this, I'm pretty sure I need professional, but to do the MS Office side of things, do I need the Visual Studio for Office also Thank you. You don't require VSTO to write Shared Add-In solutions - these projects interact with the targeted Office ...Show All

  • Windows Forms Dual threaded image creation...Reposted to be more readbale??...

    Hi there, I have a simple example below showing how I create a bitmap from a data array: void Form1::ImageUpD(array<double,2>^ image) { ImageBmp = gcnew Bitmap(image->GetLength(0),image->GetLength(1),PixelFormat::Format24bppRgb); BitmapData^ data = ImageBmp->LockBits(Drawing::Rectangle(0,0,image->GetLength(0),image->GetLength(1)),ImageLockMode::WriteOnly,PixelFormat::Format24bppRgb); unsigned char *bits = (unsigned char *)data->Scan0.ToPointer(); int bytesPerPixel = 3; // 3 bytes per pixel for 24 bpp rgb int val; for (int i = 0; i < data->Height; i++) { for (int j = 0; j < data->Width * bytesPerPixel ...Show All

  • Visual Studio Tools for Office C# Application object

    I'm using c# and VSTO 2005. I've used VS2005 to create a new Word document based project. All of the documentation I have found indicates that a Application object should have been generated as part of the project. I cannot find the Application object anywhere. What am I doing wrong I think that the author of this whitepaper means that Word's Application object is instantiated for you - when you create a VSTO project, you do not have to instantiate Word yourself. You can use the Application property of the ThisDocument class in a VSTO Word project to access the instantiated Application object. It looks like most of the code ...Show All

  • Visual Studio Tools for Office how to insert a string in html format in a word object?

    I have to insert a string which is in html format in a word document. Exist a built-in component of Microsoft that can help me to do this job When i insert this string in document, it apear like plain text (like <p><strong>ggggg</strong></p> ).  I want this string to be parsed and the word to view it like html (not to view tags, but to view it bold and italics). This is a simple example, but my strings are much complicated. This is not a VSTO-specific quesiton, but you can get help on this subject by posting a message on the Word VBA Customization newsgroup. http://msd ...Show All

  • Visual Studio Express Editions notepad

    Hi to all, Iam implementing a notepad application.When i seleceted from Format->font menu the fonts are applied to the existing text in the textbox.After applying i saved the application.But the selected fonts from the Font menu are not applied to the text I used the following code for saving streamwriter sw = new StreamWriter (--filename); sw.Write(textBox1.Text); sw.Close(); Please help me. Thanks in advance. Hi, In the open file dialog written this code to load the file richTextBox1.LoadFile(openFileDialog1.FileName); It is giving an exception ,File format is not valid. ...Show All

  • Visual C# Where the Control definitions located?

    When i createad a web application in Visual Studio .NET 2005, and drag-and-drop some controls on the page, i need to see the definitions of these controls, where are located I can not find them the only files i can see is for example (Default.aspx) and Default.aspx.cs (which not contains the definitions of controls). regards What exactly do you mean by control definition The controls are implemented in assemblies you reference, such as System.Web.dll, if that's what you mean. ...Show All

  • SQL Server SQL Server wont start (after ALTER DATABASE for model db)

    I ran an ALTER DATABASE on my model to move the data and log files. The command ran ok, I have physically moved the files, but SQL wont start now - the error is "... terminated with service-specific error 1814". Anyone know what I can do Whats the detailed error message in the event log HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Smart Device Development VS 2005B2 remote app running problems

    Hi, I used to be able to run/debug applications on my AudioVox smt5600 using Visual Studio 2005 Beta 2, but now it has stopped working, and I'm stumped about how to fix it. VS reports that the deployment has succeeded. I get the little multicolored pie thingee, but it just goes on and on, and never runs the application. If I navigate to the app via file manager on the device, I can run my app without any problems. If I switch to the release configuration, it doesn't make any difference. I've tried power cycles, making sure the debugger is off, etc. Does anyone have any ideas about what I can do next TIA -- ...Show All

  • .NET Development Any way to see SQL prior to execute?

    Anyone know of a way to debug or view or print the SQL just before it executes by the tableadapter.   I have a simple update, works fine if I manually run it in Access.  But same data throws datatype mismatch exception during an insert using VCSE.   Thanks. JS Hi, You can place a break on your tableadapter.Update Statement. And add a Watch, using tableadapter.InsertCommand.CommandText to be able to see the value. Or if you want the already parsed Sql String, thenits proper to use the sqlProfiler, its a tool readily available in Sql2000. It traps all sql statements being issued in your Database.   ...Show All

  • SQL Server Passing Command line arguments from Visual Studio

    Hi all, Is it possible to pass command line arguments to a package when running it from within VS I want to set the value of a variable via the commandline, and found that you can to this in DtExec with the "/set \Package.Variables[...].Value;..." syntax. According to the docs, you should be able to pass the same argument via the 'CmdLineArguments' property in the 'Properties' dialog of an SSIS project in VS ( CmdLineArguments . Run the package with the specified command-line arguments. For information about command-line arguments, see dtexec Utility ), but unfortunately, this doesn't seem to work (even though the exact same arg ...Show All

  • Visual C++ C1083: Cannot open include file: 'resource.h'

    Project converted from VS.NET 2k3 to VS2k5.  Receive the following error in several projects (6/21) that build fine in VS2k3.  The include file exists, is part of the project (auto generated by VS2k3).  Anyone see this   Thanks. Harrier Many of the #includes were unnecessary so I cleaned those up.  Joys of being on a large team. Did a complete CLEAN of the project and deleted all temporary and tool generated files.  Then did a Rebuild. This seemed to fix the issue. ...Show All

©2008 Software Development Network