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

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

MoP73

Member List

John_Mac
quame
Joel Hensley
AFM
JD Prasad
&#59;lkj&#59;lk
Agent00
zz2
Dave2UisDave2Me
Marlin7
Rush hour
exal
Nassa
jaomello
Sixto
Blipwort
Alex1st
MKBender
Davids Learning
Siggy01
Only Title

MoP73's Q&A profile

  • Visual Studio Express Editions VBControlExtender

    Hi,Profies! I'm looking for ActiveX VBControlExtender .Where I can download it VBControlExtender is not a separate ActiveX module, it is built-in to the VB6 runtime. VB.NET has a very different object model for controls and you'll have to find another way to implement VBControlExtender's properties. If it is the VBControlExtender.Container property you need, try using .NET's Container property (Control is derived from Component). Otherwise, let us know what you need and we'll try to help out. ...Show All

  • Software Development for Windows Vista Is it a bug of socket on vista?

    my program's work flow: my program have two part: server and client client(vista) broadcasts packets(255.255.255.255) to discover server, then server reponses some information to client. If the server(not vista) is in the same network section with client, it sends unicast packet to client; and if in different section, it broadcasts(255.255.255.255) inforamtion to client. they works very well when the server and client are in the same network section, but in different section, the client can't receive the broadcast packet. And on XP/2000, the client can work well in these two case. my code about the client : sock = socket ( AF_INET, SOCK_DGRAM, 0); nReturn = setsockopt ( sock, SOL_SOCKET, SO_BROADCAST, (CHAR *) &bBroadcas ...Show All

  • SQL Server Temp Table Problem

    I'm having a problem using temp tables in an OLE DB Source. Here's a simple example using an OLE DB Source on my Data Flow Task: CREATE TABLE #report ( report_id INT ) insert into #report select 1 select * from #report drop table #report I had to enter the SQL via the SqlCommand property b/c the component editor tries to validate the existence of the #report table, and throws an error since it doesn't exist. I also set ValidateExternalMetadata to false, set the task's DelayValidation property to false, and set the connection manager component's RetainSameConnection to true (though I don't think that would be necessary since the temp table does not need to persist outside of the OLE DB Source component). When I execute ...Show All

  • Windows Forms Export Current Page to Excel

    Hey Using C#, building a Windows Form Application, I have a DataGrid, showing set results from the MSQL table. If there anyway, I can have a button, (or Menu link or something), so when clicked, the application will open MS Excel, and export the data to the Excel Spreadsheet. I am sure I have seen somewhere how it is down, but I dont know. Can anyone point me in the right direction. Many Thanks Jamie For your Error 1, the correct syntax is: excel.Cells[RowIndex + 1, ColumnIndex] = row[col.ColumnName]; But I am getting a System.OutOfMemoryException during the export process. The error message is "Not enough storage is available to complete this operation", and it was thrown by the line " ...Show All

  • Visual Basic how to add and drop controls at runtime!

    If it is possible to direct me to an article that discusses how to add and drop controls at runtime, a good example may be the live messenger properties page, or a better one my be Norton anti virus main page or even office outlook when moving from the mail section to the contacts or other sections… Dim TB as New TextBox With TB .Location = New Point(0,0) .Name = "TheName" .Text = "TheText" end with Me.Controls.Add(TB) AddHandler TB.TextChanged AddressOf TextChanged http://msdn2.microsoft.com/en-us/library/wawheh00.aspx http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcn7/html/vaconwritingeventhandlers.asp ...Show All

  • Visual C++ running an executable program from the code

    i would like to know how to run an executable file from the command line in C++ for example i am writing a code in C++ and i need to execute a program inside my master program . i will be so happy if you send me an example mahmud I'm pretty sure you can use ShellExec() to execute any file from the source. Read up API docs on the use of the function. It's fairly easy to use. ...Show All

  • Visual Studio Express Editions MSDN Library May 2006 Edition integration

    Hello, Is it possible to integrate the MSDN Library May 2006 Edition with Visual C++ Express Edition I had the MSDN Express Edition library installed, but uninstalled it and installed the full MSDN library and it isn't integrating with VC++ express. OShah wrote: Do you know if the method used to integrate the psdk help into express can also work with msdn may 2006 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=141630&SiteID=1 ms-help://MS.VSExpressCC.v80/dv_vsexpcc/local/CollectionManagerExpress.htm The PSDK Help integration procedure did not work for the MSDN Subscription Library that I have (May 2006). - Dennis ...Show All

  • .NET Development A Question about "Response"

    How to write a hyper link to another aspx page by using response.write method I don't know how to write the " in the code.... Response.write("<a href="/welcome.aspx""); there are some errors on it... I 'm a Chinese,so I can't speak english very well.i am so sorry about that.... the code is here: for (int i = 0; i < ds2.Tables[0].Rows.Count; i++)         {             Object[] objs = ds2.Tables[0].Rows .ItemArray;             Session["CanQuery" + i.ToString()] = objs[0].ToString();             Response.Write("<br><a href=chakanx ...Show All

  • Smart Device Development battery laptop

    hi my laptop is working on mains will not work on batteries even when my laptop shows only 4 per cent of battery power has been used and the orange light which is usually used for battery laptops is showing up on the mains can someone help thankyou This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

  • .NET Development System.data namespaces

    hi! i am confused on what namespace (System.data.SqlClient, System.Data.OraclClient or System.Data.Odbc) should i use with my program... the program retrieves from sql (local server) and the values retrieved will be inserted to oracle (other server). My main question is what should i use and just to clarify what difference is there when i use an odbc connection from an sql or oracle connection thanks! ok.. thanks! but one last question.. is the output the same if use the sql/oracle namespace with the odbc namespace ...Show All

  • Visual Studio Tools for Office Variable to store a range of a document

    Is it possible to take a selection and store it in a variable. I want to open a document select all the text in the document and store it in a variable. Then open another document and insert that selection multiple times through out the document. Ultimately I may have a number of variables with a selection that I will insert in various points of the application. ...Show All

  • Software Development for Windows Vista New xp pro machine, MSDTC not installed or configured?

    Hello everyone, I purchased a brand new shiny development machine last weekend (one of the new dual core 2 processor machines...two thumbs way up!). The operating system on the machine is XP Pro. I am coding a C# 2005 winforms application which requires MSDTC and after opening my C# project and running it I noticed that MSDTC is not installed on my new machine. I thought MSDTC was installed on every windows machine but apparently that is not correct. So when I go to component services to look at the Distributed Transaction Coordinator the "my computer" icon has a red arrow over it instead of a green arrow which makes it look like there is a problem. If I click on the "distributed transaction coordinator" folder under co ...Show All

  • Windows Forms Question about HandleDestroyed event

    Hey guys. Under what circumstances is HandleDestroyed called Is it only called when a control is being Disposed I sometimes get the following exception in my app: UnhandledThreadException, Exception='System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.ListViewItemCollection.get_Item(Int32 displayIndex) at System.Windows.Forms.ListView.OnHandleDestroyed(EventArgs e) at System.Windows.Forms.Control.WmDestroy(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ListView.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at Sy ...Show All

  • Microsoft ISV Community Center Forums VBA communicating with .Net without registering COM Object

    Hi, We're planning to implement a solution where we have some VBA macros in Excel talking to some .Net code (that does database stuff, etc.) via the magic of .Net COM Interop. In order to make installation of our solution easier, I want to avoid having to register (i.e regasm) my .Net dlls. Note that I can't use VSTO or the PIAs because we need to support Excel 2000 and above. So this is what I'm planning to do: I will have a launcher application written in .Net that will start up an instance of Excel, call Application.Workbook.Open to load my workbook, and then use Application.Run to call a macro in the Workbook. This macro will have a parameter of type object, to which I will pass an instance of the .Net object that I want VBA t ...Show All

  • Visual Studio Tools for Office Accessing Word 2007 BuildingBlockEntries

    Hello, I would like to programmatically delete a Word Interop BuildingBlock, and am running into several problems. 1. In VBA, I can use this syntax, which works: Dim t As Template Dim bb As BuildingBlock Dim strName As String Set t = ActiveDocument.AttachedTemplate strName = "TestMe" Set bb = t.BuildingBlockEntries("TestMe") '(error if does not exist) bb.Delete 2. Using VB.Net/VSTO, I am unable to use the Word 2007 BuildingBlockEntries collection - can't even get this code to compile. Dim t as Microsoft.Office.Interop.Word.Template = Nothing Dim bb as Microsoft.Office.Interop.Word.BuildingBlock = Nothing t = doc.AttachedTemplate bb = t.BuildingBlockEntries("TestMe") ...Show All

©2008 Software Development Network