Doug Marquardt's Q&A profile
Visual Basic Setup Project Question
Hi, I'm trying to deploy a VB.NET 2005 application that works with a registry key, because I need the user to type the value of this string, I would like to build a setup program that will have a user interface. Is there a way that I can do this with the "User Interface Editor" in the Setup project in Visual Studio 2005 I need to install also a windows service, I know that when you have the myservice.exe file you need to run the command line: InstallUtil "c:\path\myservice" Is there a way I can acomplish this by adding this line in the setup project (my final installation package) Is there a way to add code Does somebody know where can I get more information about the deployment options Thanks guys ...Show All
SQL Server SSIS Performance Issue
Hello, I have been running massive ssis packages and testing the performance. This is my execution design: I have a main package that gets a list of packages to execute from a table. Then using a foreach loop in send the package to execute ( somewhere in the middle i delete the corresponding old log file for that package ), each of the packages configures themselves from the parent package variables. What i have been analysing tells me that for example a package runs in 2 minutes and then the time wasted from the end of the package to the start of the other task is in average 3 to 6 minutes... thats alot... since i run about 20x12 packages witch gives me of wasted time about 20 hours. My question is... what can be causing ...Show All
.NET Development Can't display application icon at runtime in Task Switcher
Howdy, I have built a simple C# App Project, as well as an accompanying Setup Project. I added two icon files to the app project, one 16x16 pixels and the other 64x64 pixels. The small icon is associated with the application's Main form. At runtime it displays in the form's title bar as well as on the Windows taskbar. However, I am unable to get either icon file to display when I Alt+Tab to switch among the running apps. (I would prefer to use the larger file, as the task switcher displays at higher resolution). TIA, Karl Kaiser You can change the icon size that the shell uses. Right-click desktop, Properties, Appearance, Advanced. I've been using 48x48 icons for quite a while... ...Show All
Windows Forms datatable and dataset
hi i have Private WithEvents dt1 As New DataTable Private WithEvents dt2 As New DataTable Dim ds As New DataSet now i add the two tables to my ds. can i do this...> dt1 references another table, dt2 same thing. imean i am not goind ds.tables("dt1") etc . . . is it not the same tables i am referencing Not sure I completely understand the question, but I did the following: Dim dt1 As New DataTable dt1.TableName = "Test1" Dim dt2 As New DataTable dt2.TableName = "Test2" Dim ds As New DataSet ds.Tables.Add(dt1) ds.Tables.Add(dt2) dt1 = New DataTable dt1.TableName = "Test3" MessageBox.Show(ds. ...Show All
SQL Server Doing a keyword search inside the contents of the stored procedures of a database
Is there a way in sql to do this: To get all the stored procedures of a given database, then either - (1) put all the stored procedures contents (all the scripts inside the SPs) in a single file or - (2) Put all the scripts that constitute all the SPs in a single big string. Then search that file (if case 1) or that big string (in case 2) and check if it includes a given input pattern (for example check if includes: mySearchedKeyword) Thanks a lot This is fairly straight-forward. Here is one method: SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_DEFINITION LIKE '% mySearchedKeyword%' ...Show All
Visual C# Visual Studio 2005 Locks / Freezes with devenv 100% - CSS Problem?
I spent a few hours trying to figure out this issue and I narrowed it down to VS 2005 having a problems with CSS. In a project I started recently I have an ASP.NET page that anytime I go into design mode and drop a control on the page VS 2005 will freeze with devenv going to 100% and sometimesy VS 2005 crashes if it does not I have to kill the devenv process. This happens anytime I go to design view or drop a control on the page. I found that when I removed my references to my .css file the problem stopped and I could add controls and go into design view. Then if I add my css link back in the IDE freezes again. This code is no different that what I would have done in VS 2003. Can anyone help me out on this issue Thank you, Patrick Her ...Show All
.NET Development Editor attribute in plugin
I have a scenario something like this: ApplicationDir --bin ----Application.exe --Plugins ----MyControl.dll ----CustomProperties.dll The main application is like a placeholder for controls. It searches the Plugins folder for dll's that contains types that derives from System.Windows.Forms.Control. When a control is found it is added and shown in the main application. When a control is selected in the main application all it's properties are shown in a property grid. The properties can also be edited. So, MyControl.dll contains a control which exposes a property of type TimeInterval. The TimeInterval class is defined in CustomProperties.dll and have an editor attribute on itself, so that a custom editor can be used to edit that property. [E ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What does creators club include right now?
I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.) for an annual subscription. Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on ...Show All
Visual C++ how to play a audio/video file in a dialog window
hi, i am the beginner of visual c++. My question has two parts. One is for video, the other is for audio. For the video : I would like to know how can i play a mpeg file in a dialog window. I find out that i can use some functions AVIxxxxx to play a ".avi" file. However, this cannot play the mpeg file. For the audio: i would like to know how can i play a mp3 file I find out that i can use Playsound function to play a ".wav" file but not a mp3 file. i have tried to use the msdn web site, i could not find anything about it. DirectX(i don't know much about this) seems too complicated for this small problem. Could someone point me where to look thank you! smile To play the file you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Newbie build error with Spacewar?
Hey there, I just installed the game studio for XNA and tried to build spacewar, but get this error about the FPU. Any quick tips Thanks. Error 1 Building content threw InvalidOperationException: The FPU is set to the wrong precision. The FBX SDK requires double precision to function properly. at Microsoft.Xna.Framework.Content.Pipeline.FbxImporter.ValidateFpuState() at Microsoft.Xna.Framework.Content.Pipeline.FbxImporter.Import(String filename, ContentImporterContext context) at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context) at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.ImportAss ...Show All
Visual Basic FolderBrowserDialog question
I have this form that it contain: - Browse File Dialog - SaveFileDIalog I want that with SaveFileDialog it merges all GIF Files of the SelectedPath of BrowserFileDialog in the FileName of SaveFileDialog with extension BIN . I set the filter of SaveFIleDialog Binary Files | *.bin How can i do For merging files i have this code For Each item As String In ListBox1.Items ' Legge tutti i bytes dei file My .Computer.FileSystem.WriteAllBytes(SaveFileDialog1.FileName, My .Computer.FileSystem.ReadAllBytes(item), True ) Next But as item i want the GIF Files contain in BrowseFileDialog.SelectedPath For now my code is this Public Class Form1 Private Sub Form1_Load( ...Show All
Visual C# Please help me confirm on windows service
Dear All, I have a windows service which I need to run on particular time of a day. So I have build my windows service and add the code of my action of checking the database in the onStart function Is this correct or must I have a main function Another thing I have added is the debug.write I dont know whether it prints or not I done with installer and manage to successfully install my window service. So I dont know how to confirm if my windows service is running or not How can I set the time to be like specify for certain hours in a day eg. to run at 10 am, 12 pm, 2pm and 4pm daily Thanks. Dear Rizwan, What you are saying is that in my onStart to run a timer rite Then run it for e ...Show All
Visual Studio 2008 (Pre-release) taskpane: automatic flow
Hello I'm designing a task pane: different taskpaneblocks , each block has a caption and a contentpart . The caption has a button: when clicked, the contentpart will collapse/expand. Now I want the other taskpaneblocks to move up when an upper block is collapsed (and move down when an upper block is expanded). I thought there should be a control that takes care of this, like a stackpanel, dockpanel, grid. But none of these three does this. Am i missing a property Or should i take another control Or does a taskpane already exist in WPF Thanks, Have you looked at <Expander> <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x= ...Show All
Visual C++ After I install vc2005, automatically i have all the functionality of windows2003 platform SDK, right?
After I install vc2005, automatically i have all the functionality of windows2003 platform SDK, right So it is not necessnary for me to download windows2003 platform SDK Thanks. ...Show All
Visual Studio Express Editions Need info regarding how to print unicode characters using VC++
Hi, I need info regarding how to print unicode characters using VC++. Regards, Nishant Sharma Funny, I am in the process of converting "multibyte" codes to Unicode wchars in a project of mine. I need to write tests that show them printed correctly. I'll be printing them on the console from a simple native C++ console program. What kind of VC++ program are you trying to print from using Unicode characters - Dennis ...Show All
