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

Software Development Network >> Syed Mubarak Ali's Q&A profile

Syed Mubarak Ali

Member List

Mohammad Mir mostafa
graye
M Thomas
tork1
RogerT
Denvas
Jessica Alba
mr3
MarkWHarrison
Michael Gibbs
PedroCGD
ameyayashu
JLB4536
WinFormsUser13232
wencey
Dannyboy13
spkeller
Gurpreet Singh Sawhney
ly4587
Darren Tao
Only Title

Syed Mubarak Ali's Q&A profile

  • Windows Forms How to create GUI with VB.net and Application code with VC++.net

    VB is easy to create GUI but there are many (advance) library in C/C++ such that I would like to cooperate them with in a (.NET)project. Hi, Generally speaking, .net provides us with a good platform to cooperate with different languages. That's to say, you can write a dll library in VB and use it in a C/C++ project. To your goal, maybe you can have a try at C#. Its GUI facilities are as easy as VB's and it can use the unmanaged code (the C/C++ libraries) as well. ...Show All

  • Windows Forms designer can't load because of Bitmap constructor

    I have a WinForms project which uses some custom controls contained in a .dll. I created a button using custom graphics. To load the images used for the button I wrote this code static System::Drawing::Bitmap^ originalBitmap= gcnew System::Drawing::Bitmap("Brain Spawn.bmp"); static System::Drawing::Bitmap^ connectedUpBitmap= gcnew System::Drawing::Bitmap(originalBitmap,23,23); static System::Drawing::Bitmap^ connectedDownBitmap=gcnew System::Drawing::Bitmap(connectedUpBitmap,connectedUpBitmap->Width-6,connectedUpBitmap->Height-6); static System::Drawing::Bitmap^ originalGreyBitmap= gcnew System::Drawing::Bitmap("Brain Spawn grey.bmp"); static System::Drawing::Bitmap^ disconnectedUpBitmap= gcnew System::Drawing::Bitmap(originalGr ...Show All

  • Visual Studio Tools for Office table caption + id

    Hi can anyone please tell me how can i obtain the caption of a table. the caption can be added by the method table.range.insertCaption. also , how can i identify tables. Allthough they have a property id , it can only be used when working with the doc as html. i am using now the order they appear in the doc , but it is not very good, it can generate a lot of errors. thank you Hi Horea This forum is specific for questions concerning the VSTO technology. For discussions about an application's object model, it's better to ask in one of the groups listed in the "Please Read First" posting at the top of this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1 ...Show All

  • SQL Server Datafields in report header

    Hi. I want some information stored in the database to be shown on the top of each page in my report. But in the report designer I get an error message if I try to drop a table in the header, and if I try to assign the value of a textbox in the header to e.g. "First(Fields!sometable.Value)", I get a runtime-error in the preview that says "... Fields cannot be used in page headers or footers". How can I do this Regards, Tomsi I have a few clients who love SRS but almost dropped it because of this. We have found ways around it by using a table and putting a subreports into table headers so we could control if they displayed on first page only or all pages or not at all. Or for simpler s ...Show All

  • Visual C# NetworkStream doesn't support seeking

    I want to play sound from network stream. For playing sound i use directsound, but when i try to create SecondaryBuffer: try { ApplicationBuffer = new SecondaryBuffer ( this .netStream, ApplicationDevice); } catch ( Exception ex) { MessageBox .Show( ex.ToString()); } i'm getting error that netStream doesn't support seek operation. I know that property "Seek" of NetworkStream is ReadOnly... how can i work around this problem You can read a block from the NetworkStream and fill a buffer (byte array) with it, then you can use a MemoryStream to Stream a specific buffer piece to the SecundaryBuffer: byte [] networkBuffer = new byte [ 8192 ]; int bytesReaded = networkStream.Read(net ...Show All

  • .NET Development relieve username and password for Visual source safe

    Hello, I am trying to retrieve username and password when user logins to WINXP and WIN2000. I wrote a script that will grab username and password and connect to VSS, and allow a specific user to access the files, but I am having a problem retrieving password. I can retrieve username but not password. Is there away to retrieve password or not, Thank you, Hi, The idea is, when the user logins in to there account, it grabs username (I can) and password (dont know how) and checks the authorized user using VSS COM objects + C#.NET. Once the user is authorized, a web form will be used to checkin/checkout files from VSS. Thanks., ...Show All

  • Smart Device Development Datagrid Column Problems ?

    I try to display my data to datagrid for pocket pc application, and it success. But i don't know how to set column width,caption grid header for pocket pc application. can anybody tall me. how code for this problem thanks, Hello Yusuf, In .NET CF, we just need to do some settings. Follow the steps listed below: 1. Select TableStyles property of DataGrid control, then a dialog will be shown. 2. Click Add to create a dataGridTableStyle in that dialog. set MappingName to the table in datasource you want to display in DataGrid. 3. Click GridColumnStyles, then anthor dialog will be shown. 4. Click Add to create a dataGridTextBoxColumn. set Header Text here to what you want for this ...Show All

  • Visual Studio Express Editions StreamWriter

    I've got StreamWriter to add stuff to a textfile, but I'm now wondering how to delete a whole line in the textfile so it doesn't leave a empty line in the textfile. Code that doesn't work Dim objStreamWriter As IO.StreamWriter objStreamWriter = New IO.StreamWriter( "C:\Test.txt" ) objStreamWriter.WriteLine( "" ) objStreamWriter.Close() I'd use a simple one line of code to do this. My.Computer.Filesystem.WriteAllText("c:\test.txt","",False) One line to replace you 4 lines of code. ...Show All

  • Visual Studio Team System Team Build works only on itself

    I've got the Application and Data Tier on the same machine. When I do a team build, it only works on itself, not onto the server I actually want to build to. Everyone has full permissions to everything and I get error TF42046. Do I maybe need to install something else on the server I'm building to (1) Does the Team Build Service exist on your box (Look for "Team Build Service" in the Services section of the Computer Management console) If not, you'll need to (re)install the whole build machine SKU. (2) Is the Team Build Service running If not, you should start it. (3) Is the Team Build Service listening on port 9191 (Check the setting in TfsBuildService.exe.config - typically locate ...Show All

  • Community Chat Kyro KidSafe Browser (beta)

    Hello all, I am making a "KidSafe" browser for kids. Please download my program and post any noticed bugs,etc.  It takes only minutes to set up.  I am 10 years old, so who can make a browser for kids better than a kid Progress:  Final will be started in January Thanks you everyone for your contributions  and encouragement.  *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. Beta Features: *Has 3 tabs for browsing. *Has a "My Websites" button with up to ten of your programmed websites in it. *Talking Help guide *A new install program Updates in final version: *Button text replaced with graphics. *A game room with games, and fun KidSafe software (suc ...Show All

  • Visual Basic Business Logic

      ...Show All

  • Windows Live Developer Forums Windows live messenger error

    I have installed Windows live messenger many times and it won't work the winhttp.dll error keeps coming up. I tried to put in winhttp.dll but theres another error of the same kind and finally the same thing happens again when i tried to put in the final (.dll) procedure Mr.CEO wrote: I have installed Windows live messenger many times and it won't work the winhttp.dll error keeps coming up. I tried to put in winhttp.dll but theres another error of the same kind and finally the same thing happens again when i tried to put in the final (.dll) procedure ...Show All

  • Windows Forms How can extract an object from form.designer by string name? (for examble a buttton dropped on)

    i would estract an object from my form, for example a button by name. I drop a button in a form, named button1: and try: Dim o As Object = CallByName( Me , "Button1" , CallType.Get) but don't work because he said that error message: "Public member 'Button1' on type 'Form1' not found" someone have any solution thank's CallByName only works for public members. By default, controls that are added to a form using the VB form designer are added with Friend visibility. Also, I believe the CallByName method only works for properties and methods. A control reference is a field. ...Show All

  • Visual C++ remove "null char???" before saving to file

    FileStream^ fs = gcnew FileStream("temp.csv", FileMode::Create); BinaryWriter^ bw = gcnew BinaryWriter(fs); String^ temp = "Testing"; bw->Write(temp); bw->Write(','); bw->Write(' '); the problem is when i open the file in notepad another character was added to the beginning. possibly its a null char how do i remove it A BinaryWriter writes strings with a length byte in front of the string. Don't use a BinaryWriter but a TextWriter derived class. For example (in VB.NET): Dim sw As New System.IO.StreamWriter("c:\temp\test.txt", False, Encoding.ASCII) sw.Write("Hello world") sw.Close() ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. missing Direct3D device???

    Help! I'm working on my first XNA Project: Learning how to work with 2D images/sprites. I follow the directions completely and I get this in the Main() module when it tries to access the Game1 module: Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater. I tried downloading the Direct3D 9.0 SDK extras package, but it didn't help. I'm stumped. Dan This really irritates me that their is absolutely no workaround! I'm creating a strictly 2D game without any pixel shading, and I was working on them before beta 2 with no problems at all. Now that its required its ridiculous! I found workarounds after it gets to the actual Game class, but mine wont get that far. ...Show All

©2008 Software Development Network