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

Software Development Network >> Shailesh Chaudhary's Q&A profile

Shailesh Chaudhary

Member List

Walter Zorn
Seb.Net
GiampaoloSanRemo
Vasic
Beast Forever
MuscleHead
Tomys
tasleemarif
Martin Schmidt
getluv
friggityfraggity
kirupa
ivanchain
Quirk
Tanvir Huda
tabdalla
DaveThompson
Cyril Stanislaus Xavier
FlyinBrian
Ofir Epstein
Only Title

Shailesh Chaudhary's Q&A profile

  • Visual Studio Express Editions How to cancel the click event and go back to the form?

    Hi I have a form that is called to input data to the database. What I want to do is wend the user clicks ok, check the input (made throw 2 textboxes) and if it is improper return to the form, without  runnig the rest of the code or stepping over the code that called it. Tanks But if i exit sub it thas not return to the form it gives back the ok value and goes on. this is the code that call it: Dim resultado As DialogResult resultado = Fcanais.ShowDialog If resultado = Windows.Forms.DialogResult.OK Then   ...Show All

  • Windows Forms help with deployment - mshtml.dll

    i've created a html control that refereces mshtml.dll. When deploying this project, it works perfect on all computers with vs 2005 on it (VS 2005 installs/registers mshtml.dll 7.0) However, whenever we install the program on a computer without vs 2005, it errors when rendering my HTML editor control because that computer doesn't hvae mshtml.dll 7.0. On the install, we register the dll, but it still does not work on anyone's computer. Has anyone worked with this at all any help would be awesome. thanks. That's correct. The one that came with VS2005 is for development purposes only. The end-user will still need to install the version of IE that corresponds to mshtml.dll version. ...Show All

  • Visual C++ C++/CLI problems/issues

    I have some questions on C++/CLI issue. Let me explain my situation: I have an existing native COM dll that contains my logic. It has been tested and works fine with native C++ client using CoCreateInstance. I would like to add a new logic and notice that BCL has a class that I can use. So I add a new source file and header which I compile with /clr since I need to use one of BCL classes (actually, at this point, it is just an empty shell). When I tried to CoCreateInstance in my native client, it couldn’t create. But if I go back to my COM dll project and take out the /clr in my new source file, it works fine. After some debugging, I found out the problem and have been able to fix the issue. However, I would like to get more detai ...Show All

  • .NET Development Doing Tape Backup in Managed code

    I hope I have the right Forum for my question .. I am trying to use Tape Backup functions in a mixed, managed and unmanaged, code. Since the Tape Backup functions have not been ported for use with managed code I have to call them as unmanaged code, unless someone knows of managed functions that do that. I am having a problem passing a handle, array<byte>^, for a buffer that receives the data from the tape to the ReadFile() function, the only one that I found that can read from Tape devices. The problem is in the 2nd argument, the buffer pointer, since ReadFile() is expecting an LPVOID. I tried using P/Invoke but the class MarshallAs has no such attribute as LPVOID. Any suggestions are greatly appreciated. Thanks. ...Show All

  • Visual Studio Express Editions Components

    How do adding components within Visual Basic 2005 Express edition works I cant find a components menu anywhere. actually, i am not trying to add it to my form, I am trying to add it to my toolbox so I can then add it to my form. I need the image componenent so that I can use it for my database type program i am trying to write. Is there a place to go to get compenents we need at msdn ...Show All

  • Visual Studio Express Editions Retrieving Dialog Box Information Collectively Using Objects

    The title of this thread is the title of one of the walkthoughs in the Visual Studio 2005 Express-help. The URL is ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_mancli/html/81692df6-723d-416c-8e70-14d4a99d121c.htm I did everything in the walkthough down to the last part where it says: Go back to the code for InformationForm , and add a UserInformation property. Handle the Validated event on each of the TextBox controls so that you can update the corresponding property on UserInformation whenever one of the values change. Add handlers for the Validated event to each of the TextBox controls on your form, so that the new value of these controls is assigned to UserInformation whenever the user change ...Show All

  • Visual Studio 2008 (Pre-release) Calling "transactional web services" within a series of database update calls - is Indigo the only way?

    SCENARIO Suppose I call the following method in a ServicedComponent: public void DoMixedUpdates() {     DoDBUpdateA();     DoDBUpdateB();     CallWebService1ToDoDBUpdateC();     CallWebService2ToDoDBUpdateD();     DoDBUpdateE();     DoDBUpdateF(); } All 6 calls perform DB updates but the middle 2 calls call "plain old" ASMX web services that each then call a component that performs DB update C and DB update D. QUESTION On the current shipping versions of Windows Server 2003, does a) .NET 2.0 with WSE 3.0 or b) .NET 2.0 without WSE 3.0 support the "transactional web service" scenari ...Show All

  • Windows Forms BindingNavigator Paging

    Hello. I would like to create a DataGridView in order to get only `n` rows at one time. The `need` for new rows should be triggered by the DataGridView. For example if the user gets to `n`-th row in the grid, then DataGridView should fire an event that will have an associated handler that would get the next `n` rows from the database. I've binded the BindingNavigtator with DataGridView and I've noticed that with the default toolbar items, at the end of the DataGridView, the `Next Item` button becomes disabled... Is there a way to handle that event Thanks. You can program your own navigation logic. But first set the MoveNextItem, MoveLastItem, MoveFirstItem and MoveP ...Show All

  • Software Development for Windows Vista How to record from 'Wave' or 'Stereo Mix' in Vista?

    Hi all, I wrote the following question in other forum space but some MSFT guy told me to try this forum for my question. I hope I could get right answer as soon as possible here. On Windows XP or earlier, I could capture the audio stream to the speacker not from the external device (maybe endpoint device in Vista) like the microphone. In other words, D irectSoundCapture was able to capture from the selected recording device/source line in the Windows record control utility or mixerXXX APIs. And if "Wave Out Mix" or "Stereo Mix" or something similar was selected as recording source line, D irectSoundCapture was able to record the audio stream to the speacker. However, I could not find the way to do tha ...Show All

  • Visual Studio Express Editions Filter to form2

    I am brand new to VB Express 2005 and only just getting starting to understand it. Here is my problem. I have two forms connected to a SQL Express database within the project. Table 1 and Form 1 lists the customers Table 2 and Form 2 Lists the email addresses and passwords for each account 1 customer could have up to 30 email addresses. I can get the customers to show on Form1 and all the emails and passwords to show on Form2 with no problem. I can even add a button that opens Form2. What I am trying to do is open form2 and only shows the data that relates to the selected customer. It’s probably very simple but I am a beginner after all ...Show All

  • Visual C# Generics bug? Inheriting from a generic collection crashes my web server.

    Hello forum. Generics crashes web server hosting web service. Works in windows app. It is very easy to replicate, just copy paste code at the end of this post.. I have chosen to have a collection which inherits from Collection<T>. I call this class ObjectCollection<T>. Like this: public class ObjectCollection<T> : Collection<T> I then make specific collections by inheriting from object collection. I want to implement methods on ObjectCollection which use the internal list in the Collection. I can this way easily make methods like .ToArray() and so on available to all my collection. Like this: public class ProductCollection : ObjectCollection<Product> The problem is that it crashes my web ...Show All

  • SQL Server MICR Font Issue When Exporting to PDF

    Hi, I'm using Reporting Service to print checks. Everything seems ok when I design and deploy and view the reports. But when I try to export to pdf, the MICR font I'm using does not work. I've tried a couple of different MICR fonts from the web and they either get replaced by a standard font or disappear altogether. I would love to know why that is. Thanks in advance, Tom Hi Tom, I am having the same problem did you by any chance solve this problem Thanks ...Show All

  • Smart Device Development FileIOPermission issue

    Hi, I'm trying tot write an App that runs through the system just reading files and producing a hash of each file. The problem is that certain files in the CE file system are protected and I can't seem to read from them. The Exception occured in these lines; private string GetHash( BinaryReader br, int SizeOfFile) { byte [] hash; ASCIIEncoding enc = new ASCIIEncoding (); byte [] buffer = new byte [SizeOfFile]; br.Read(buffer, 0, SizeOfFile); }   From what I was getting from Visual studio suggeted I did something like the following: using System.Security; using System.Security.Permissions; [assembly:FileIOPermission(SecurityAction.RequestOptional, Unrestricted = true )] ...Show All

  • Visual Studio Express Editions ntdll.dll error only when exe file is ran.

    Hi, I have very strange situation with running c++ application. When I build project using debug mode everything is OK, but when I build application in release mode or just run exe file either in debug or release folder I get the following error in ntdll.dll file. "Exception Information Code: 0xc0000005 Flags: 0x00000000 Record: 0x000000...000 Address: 0x000000007c93426d" This is information from windows message. Here is information from building log: 'archiveEditor.exe': Loaded 'C:\Projects\archiveEditor\release\archiveEditor.exe', Symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'archiveEditor.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll ...Show All

  • .NET Development assembly generation warning messages

    I am receiving the following warning messages during my compile process: 1) Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor 2) Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor I am using an AMD64/Windows x64 platform to do C# builds in Visual Studio 2005, and I specify x64 as the target platform. The generated applications run as 64-bit applications, i.e. there is no *32 after their name in the Windows Task Manager. The default business case should be for compatibility, however, I would like the Visual Studio environment to cooperate with my wishes. Is there any way to tell Visual Studio, "Yes, target this code only to run as a 64-bit applica ...Show All

©2008 Software Development Network