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

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

funkyduck

Member List

SCHRANK
mamrg
ttfo
mszlazak
Tryst
Pockey
ClydeCoulter
JaBaVe
Fred Herring
Tom_Liu
pompoko
R3dD0g
Walter30140
stevieT01
Jon Braganza
hanafy
Lee John
JamsBond007
Timeware
Rob Hall
Only Title

funkyduck's Q&A profile

  • Visual Basic Save splitterdistance/container/panel info on app shutdown to reload persisted settings/sizes?

    the vb6 application which this vb.net app is replacing stores panel size info,etc in an ini file when a form closes so it can "reload the previous layout" THere are 4 drawing panes which can have different sizings, perhaps one taking up a whole view are, top and bottom...or even all four. Is there a way in vb.net (2005) to capture this info so that it reloads with whatever size/splitterdistance existed on application shutdown Me.SplitContainer1.SplitterDistance = 882 Me.SplitContainerDrawingVertical.Size = New System.Drawing.Size(886, 618) Me.SplitContainerDrawingVertical.SplitterDistance = 295 Me.SplitContainerDrawingLeftHorizontal.Size = New System.Drawing.Size(295, 618) Me.SplitContainerDraw ...Show All

  • SQL Server Updating table names in RS 2005 datsets

    Hello, Since some table names changed in my db, I need to update the old tables names with the new ones in my datasets. Has anyone tried to do this via updating the reports XML code (right click on the report: View Code option) Thanks! Yes, I tried but it didn't work out the way I figure it would. Changing the xml code does not appears to cover all of the bases. I believe that there are some hidden values stored in the .data extension also. Of course, you can try it but its not a support practice. Hammer ...Show All

  • .NET Development Error installing dotnetfx3.0

    [10/02/06,09:38:05] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:38:05] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:38:14] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:38:14] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. [10/02/06,09:57:29] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:57:29] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:57:35] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:57:35] WapUI: [2] DepCheck indicates Microsoft . ...Show All

  • .NET Development SslStream Write Block Size Optimization

    What is the best block size to use when transmitting large amounts of data with the new .Net 2.0 SslStream class We know that the default MTU in Windows is usually around 1460-1480 bytes. We also know that SSL uses symmetric encryption once the asymmetric handshake process has been completed. Therefore the (symmetric) encrypted blobs will be almost 2-3 times the original size(length) of the plain text source that we attempt to write to the stream. Based upon the previous assumptions, is it then correct to assume that writing in chunks of 512 bytes or less would yield the best performance Can someone give me a good rule of thumb for dealing with this scenario Your assumptions are incorrect. Symmetric ...Show All

  • Windows Forms Question about docking a control in a panel

    I created a search form in a panel, to be placed in forms: A textbox and a button on top, and a datagridview docked to bottom. I add this panel to my form, and set dock to fill. Then the problem occurs: If the form i add this panel to is higher than the panel, the datagridview will just remain the same size, and stay at the bottom, while the textbox and the button is at top, making a big empty space in the middle. Like this: [TEXTBOX] [BUTTON] ----------------------------- | Dataridview area | ----------------------------- How can i make the datagrid automaticly adjust it's own size, to fill the empty space What i basicly want is to spike the top of the datagrid to right underneith the textbox and button, and whenever ...Show All

  • SQL Server Messages in the sys.transmission_queue for a disable queue

    I may have a misunderstanding of how SB works, but this seems like a problem. If a queue is disable (i.e. status = off) and a message is sent to the queue the message is placed on the sys.transmission_queue. Once the queue is enabled I thought the messages were sent to the queue in the order they were placed on the sys.tranmission_queue I have been troubleshooting a problem and this is not the case. Do I have a misunderstanding of how the sys.transmission_queue works The queue has retention turned off. If you have a scenario where you want to send a message to a service broker queue that updates a row in a table and then later you would like to send another message to do another update to the row in the same table and the ...Show All

  • SQL Server Data mining Query

    Well, maybe it's a fool question.But i'm so confusing. My question is could i make data mining model using SQL QUERY ANALYZER which is embeded in SQL SERVER 2000 database Thank you so much before Not really. You can use SQL Server Management Studio which comes with SQL 2005 to do so. If you want a query interface for SQL 2000, download the DMX Sample application from www.sqlserverdatamining.com . Note that due to restrictions on SQL Server 2000 data mining, you can not create a server mining model using DMX. If you connect to a server and create a model with CREATE MINING MODEL, you will be creating a session modle that will disappear when you disconnect. If you use the MINING LOCATION connection string parameter set to a d ...Show All

  • .NET Development .NET 2.0 doesn't support COM+ for late binding? .NET2.0 COM+ for VB6 client.

    Hi all, Since our project have to support legacy VB6 client also, I created COM+ using .NET. First time I create COM+ using .NET 1.1 version. VB6 client calls the COM+ Application class and calls Exectue4VB() method. There was no problem. I test it all and worked as expected. We decided to convert COM+ code using .NET 2.0. However when I converted the code to .NET2.0, it stops work!! So, I created small test COM+ and test vb6 client. It doesn't work. It works perfectly ok with COM+ written in .NET1.1. Error is : Object doesn't support this property or method It's so wired. What is problem .NET2.0 doesn't support it anymore or what It's same code. I've searched all around to find related doc. I couldn't find any. Any comment helps ...Show All

  • Visual Basic FontSyles?

    How do you get a multiple fontstyle i.e Bold and Italic and Underlined all at the same time. I have 4 Checkboxes each with a different style, if I click ckbBold then I get a Bold font in my textbox but if I then click ckbItalic nothing happens until I uncheck ckbBold, so I only ever get one style. Any ideas or pointers Does this help   Me.theTextBox.Font = new Font(Me.theTextBox.Font, FontStyle.Bold OR FontStyle.Underline)   the fontstyle can be combined by using the OR operator ...Show All

  • Visual Studio Copy/Paste

    Is it normal that when I selected a shape, the copy/paste operations are disabled I suppose copy and pasting of shape is not supported Is there an easy way to make it work Thanks! Mike i am using visual studio 2003. i have searched in my machine, not able to find the mentioned dll. is that new in 2005 else any alternate approach to build the logic. to be more detail...i need to copy normal controls(textbox, label,...) and also third party controls(syncfusion grid and chart). when the user drags the control i am generating xml (my own) for the particular control. the user can save the stuff and when reopens agains, reading the data from the xml and creating the controls. Thanks ...Show All

  • Visual Studio Global Objects with Macros?

    Hi, I want to instantiate and initialize a global object upon startup for a Visual Studio session (2005 Standard Edition), and access it with my macros. I’m a novice at VS macros, so I don’t know how to proceed with this. Should I place the class definition within the same public module as the macros, or outside Is there any sort of event handler that is executed on startup (much like Page_Init and Page_Load) Any help with this would be greatly appreciated. THANKS!!! UPDATE ... I've got a workaround for this. I simply created a sentinel variable within the environment space, initialized it to zero, and set it to 42 within the OnStartupComplete Handler. I then call a function at the first of my macro to test the value of the sentin ...Show All

  • Visual Studio From build excluded project should be build via command line

    Hi, how is it possible to build a project via command line if i have excluded this project from build in my solution. My command line looks like .. "msbuild ResolutionSystemPlugIn.sln /t:OptimizationServiceTest:rebuild /p:Configuration=Debug" The build terminated because it's not selected for build in my solution. But i does not want to activate the project in my solution. I only want to build this project via command line. And i can't build the single project because the project has multiple dependencys in my solution. Dirk 1. You can create your own build file, and use it instead of building the solution. For Example - <Project DefaultTargets="test" xmln ...Show All

  • SQL Server (SubReports) Is it possible to...

    Here's my dilema. Our organization has two db servers. One is Oracle and the other is SQL Server. Oracle contains our HR information on all employees and SQL Server contains information on various projects that we are undertaking. The HR system (Oracle) contains Employee ID's, Names, addresses, phone numbers, etc. SQL Server has information about the varous projects and Employee ID's of who is assigned to those projects. I have a report that has two data sources (one to each server) and two datasets (each populated from the two datasources). I would like to have a single table that displays the project and the name of the person who's assigned to that project. This would be achieved by linking the tables on similar information, which is th ...Show All

  • Visual Studio Look at bright side, takes only one night vs2005 sandcastle add-in

    Okay, the Sandcastle release isnt polished, but there is a release. After spending hrs on the old NDoc solution I still only could get linear docs, very ugly. Every other template gave exceptions. Anyhow, it took about the same amount of time to write a vs2005 add-in... For the public (pretty alpha, but works lika charm, and solution is there for download) Visual Studio 2005 Sandcastle Add-In For the ones having troubles with the scripts, here a super easy add-in, with source code. Having troubles getting it started , let me know! Video: http://www.overnight.nl/download/sandcastleaddin.html Post with rest of the links: http://dotnetpret.blogspot.com/2006/08/sandcastle-continued-documentation.html Cheers, Frank Kroondijk ...Show All

  • Visual C# How do I rename the administrator on a given machine via c#(System.Management?)

    I've found a few bread crumbs, but i have not as of yet figured this out.. here's what i know. You're supposed to be able to do it using WMI via win32_useraccount.Rename, You can call WMI stuff in c# via System.Management. What I need is how to tie those two pieces of information togther to allow me to make the changes. Can anyone help Give me a few more breadcrumbs to follow Thanks,  Eric-   try this: ManagementObject theInstance = new ManagementObject("root\\CIMv2", "Win32_UserAccount.Domain='" + Environment.MachineName + "',Name='" + AccountName + "'", null); ManagementBaseObject inputParams = theInstance.GetMethodParamete ...Show All

©2008 Software Development Network