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

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

harlequinben

Member List

Paully_l
neithzan
patria
lostagent2
truepantera
senordotnet
VB net Beginner
LJames
WXS123
David Tatton
MrCadburysParrot
DanTanzer
mouvement_patisserie
Irfon Subhan
Ruurd Boeke
John Samperi
xavito
James Mayer
Parrotboy
Knagis
Only Title

harlequinben's Q&A profile

  • Visual Basic Async event or callback from the c++ dll to the vb.net application

    Hello I have an vb.net application that need to perform async tcp/ip  communication with some boards. For this communication I have an c++ win32 dll . here is the question : when my dll  asynchronically receives some data he must immediately notifies about this and send it to the main vb.net project , how do I do it Actually I want to create and set an event in my dll for this purpose but I don't know how to catch this event in vb.net application May be I need use the callback for this but again I don’t know how to do it thanks in advance Ok if you want to use a callback all you have to, is to p ...Show All

  • Visual Basic Save\Load values as text file

    Hello In VB6, I was able to save and load values as text file, it saves them like this form: "V1","V2","V3" I was using this code: Dim A As String, B As String, Op Op = FreeFile A = "Value1": B = "Value2" Open "D:\File.txt" For Output As Op Write #Op, A, B Close Op How can I do it in VB2005 Thanks & Regards The following code will do the trick in VB Express/2005 making use of the My.Computer.FileSystem.WriteAllText method Dim A As String, B As String Dim Content as string =A & B My.Computer.FileSystem.WriteAll ...Show All

  • Windows Forms Preview 1.0 Type Library (PREVIEWLib)

     I would like to use the Preview 1.0 Type Library visual component in my C# project (file name: shimgvw.dll, wrapper AxPREVIEWLib). Unfortunately the component is not documented (at least I was not able to find any useful documentation). Some colleges of mine say that it is because the functionality of the component may vary over operating systems. Can somebody send some link about this component or suggest a similar but better documented one Is it possible that this component won’t be supported in future version of the operating system As I know it should work with Win 98 or better operating systems but it would be cool to see the of ...Show All

  • Visual C# how to make an installation file for my written program in c#

    hi all, the question as the title please help me to solve this anyone can give me a flavour thanks henry   " anonymous@discussions..microsoft.com " < musichenryviolin@discussions.microsoft.com > wrote in message news:47e8de80-26c9-47fb-9f10-60b1325ca1e3_WBRev1_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com hi all, the question as the title please help me to solve this anyone can give me a flavour thanks henry   Why reposting the same questio again, did you actualy re ...Show All

  • Windows Forms List<ListRow> + ICustomTypeDescriptor + Data Grid View Problem

    Ok, so I've been working on a problem that I think every developer faces when using business objects. You often need to create grid data of a specific set of fields (i.e. in the case of a combo box, the ID and the Name field) and bind controls to it.  In a pure 3 tier achetecture, you don't want to have any database code at all in the GUI tier.  And of course you don't want to have to make a special business object for every permutation and combination of fields that you might need in your software. So I did a ton of reading and finally came up with ICustomTypeDescriptor and List<> So I created a List<> implimentation ...Show All

  • Windows Forms Collection not adding the controls...

    Hello, i'm writing a custom ToolBar inherited directly from System.Windows.Forms.Control and so i have written code for the nested class ToolBarButtonCollection... According to the documentation, the ToolBarButtonCollection implements IList, IEnumerable, and ICollection, so i decided to do it the same way but i think there isn't a way to not implement some members of an interface o ...Show All

  • Visual Studio 2008 (Pre-release) Binding TextBlock with KeyDown event

    i am using textblock for capturing input from keyboard, but problem is how do i refresh its content, i am doing the way given below, but then it doesnot works for space, enter or any other sytemkey, how do i go about it TextBlock tb KeyDown event of windows: tb.Text = tb.Text + e.Key.ToString(); Why aren't you just using a TextBox If you don't want it to look like a "normal" TextBox just restyle it, but you definitely seem to want the behavior of a TextBox. -Drew ...Show All

  • Visual Studio VS 2005 - "Suit Integration Toolkit Error" is not sweet

    With a lot of expectation and excitement I started to install VS 2005 EA edition. But the installation seems very very scary one - perhaps the most irritating in my recent past. I had beta 2 products installed prior. So un-installed meticulously everything as described in "MS-Sequence". Then I got a "Suite Integration Tookit" error and VS 2005 installation exits. I tried un-installing all beta junks by several MS 'official' un-installers(also some from Aaron's effort..). But all without luck. Frustrated, I re-installed(fresh) windows XP and setup SP2. I manually tried installing WCU updates:-       1. Micr ...Show All

  • SQL Server Stoping SQL Server 2000 Database

    We need to Reboot the Windows Server (Windows 2003 Ent.). Let me know how to smoothly stop the SQL Server 2000 Database. What all services needs to be stoped. Plz let me know the steps.. Thanks in advance, Yjus haveto shutdown / stop the MSSQLSERVER or for named instances also the MSSQL$InstanceName, that shoul be all. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development .Net Sample will not Register!

    I downloaded the InProc sample code from the MSDN MFC OLE Automation sample page http://msdn.microsoft.com/library/default.asp url=/library/en-us/vcsample/html/_sample_mfc_inproc.asp After I build it, I try to run REGSVR32. I get an error: DLLRegisterServer entry point was not found. I look at InProc.Dll in the object browser and DLLRegisterServer is in the Global functions. 1. Can someone tell me why this microsoft sample fails 2. Is this documentation obsolete (can someone supply a URL to the documentation for what replaced it ) I am trying to write a simple encryption DLL which can be used by SQL server SP_OACREATE ...Show All

  • SQL Server Unpivot question - FYI

    I have denormalized financial data in a SQL Server table with the following columns: Id           int   PK Salary     currency Fringe     currency Travel     currency < etc. > In my unpivot transformation task, Id is a pass-thru column, and the others are designated as input columns to pivot into rows with the Pivot Value of "BudgetCategory". Finally, the Data Column is named "Amount". When I look at everything in the advanced editor, it all seems to be correct - each of the pivot input columns' destination ...Show All

  • SQL Server List all databases accessible by a login

    Hi all. I am new to SQL-DMO so sorry if what i am asking is really easy. Is it possible to get a list of all objects (including databases) which are accessible for a particular login. So far I have: Dim oSQLServer As SQLDMO.SQLServer Dim oSQLDatabase As SQLDMO.Database Dim oSQLLogin As New SQLDMO.Login Dim oUser As New SQLDMO.User oSQLServer = New SQLDMO.SQLServer oSQLServer.Name = _oSQLServer.Host ' Check server is alive If (oSQLServer.Status = SQLDMO.SQLDMO_SVCSTATUS_TYPE.SQLDMOSvc_Running) Then Try oSQLServer.LoginSecure = False oSQLServer.Connect(_oSQLServer.Host, _oSQLServer.Logi ...Show All

  • Smart Device Development Files Per Folder Limit in FileStream constructor

    I have recently discovered that a .Net Compact Framework application was failing when there were too many files per folder with long file names. Code was running on Pocket PC V 4.20.0 (Build 14053) running on ARM XScale. Storage Card is formated with FAT32. Pocket PC is using Compact Framework 1.0. The code below fails at exactly 1000 files private void button1_Click( object sender, System.EventArgs e) {     int i = 0;     byte [] b = new byte [1];     b[0] = 123;     try     {         whi ...Show All

  • .NET Development Create a new database

    In VB 6 you could use the VisData application to create a new database for use on a local machine or on a remote server. What tool is available in Visual Studio 2005 to do the same thing. I have found the Server Explorer, but could not create a database as described in the online help that came with Visual Studio. Thanks for the help. Richard B. Oberholz Hi, Are you using SqlServer Express If so there is a management tool that's freely available. From there you can create your own databases. SqlServer Management Studio cheers, Paul June A. Domag ...Show All

  • Software Development for Windows Vista Unable to add Custom properties to Activity

    Hi, I am not able to add custom properties to the Activities in Visual studio 2005 IDE using the Property window. Though I am able to see all the properties added to the activity thru code in the workflow that is using this activity. Thanks & Regards, Rajesh You cannot view properties defined on the class itself when designing that class [yes, this seems like a very silly limitation, but it's been that way since .NET arrived], this is similar to designing a custom control where you can't see the properties on the designer from the control itself, only on forms which consume that control. I wonder though, would it ...Show All

©2008 Software Development Network