micky_fish's Q&A profile
SQL Server SQL Server Express SP1 Setup Changes
The just released SP1 version of SQL Server Express has a file name of sqlexpr.exe. The previous setup file was named sqlexpr32.exe. Why would Microsoft change the file name Anyway, the file name change obviously breaks the file name that is coded in the bootstrapper package.xml file. Also, the link address will need to change (I suppose Microsoft couldn't just put a new version at the same link with the same file name so that everything would just keep working ) Is there a revised package.xml file we can use If not, do we use the same publickey Are the necessary changes documented anywhere Thanks Russ Stevens Sorry to disappoint, but that link is pointing to the RTM version of SQL Expr ...Show All
Windows Forms DataGrid and DataGridView issue?
I am trying to use either a DataGrid or a DataGridView to list records that could later be edited through the click even of a row. My problem is this: while I am developing, I have to basically re-create the control by editing the designer generated code if changes are made to the control after compiling the app. Is there a way to get around this, or am I doing something wrong I understand that, and even as we speak, I have made some changes in the properties window, and when I compiled the app again, I got a an error that tesst me that the datadrig control does not exist. However, when i look at the designer code, the Datagrid is there as a private variable, and is not available to the UI th ...Show All
Visual C# Q: Creating a simple keylogger
Hello everybody, is there a way to create a simple keylogger in c#. This means to record every key pressed and write them down in a file....More or less that's it! Any ideas. With all the respect, chire Thank you very much guys. Appreciate the help. I ain't no script kiddie, but hey, I ain't gonna lie to ya...I am going to need this to record everything, even usernames and passwords. Do not get me wrong...someone smart has said: Get to know your enemy... peace out brothers, chire ...Show All
SQL Server Ordering date in asc order ?
SELECT LEFT(CONVERT(CHAR(11),convert(datetime,task_date),109),3) + ' ' + RIGHT(CONVERT(CHAR(11),convert(datetime,task_date),109),4) as Date, SUM(CASE a.status_id WHEN 1000 THEN b.act_point ELSE 0 END) as Programming, SUM(CASE a.status_id WHEN 1016 THEN b.act_point ELSE 0 END) as Design, SUM(CASE a.status_id WHEN 1752 THEN b.act_point ELSE 0 END) as Upload, SUM(CASE a.status_id WHEN 1032 THEN b.act_point ELSE 0 END) as Testing, SUM(CASE a.status_id WHEN 1128 THEN b.act_point ELSE 0 END) as Meeting, SUM(CASE a.status_id WHEN 1172 THEN b.act_point ELSE 0 END) as Others From task_table a,act_table b where a.status_id=b.act_id and a.user_id=(select user_id from user_table where user_name='Raghu') and a.task_date like '%/%/2006' GROUP BY L ...Show All
Visual C# C#: Launch URL from inside a windows application
Hi, I am new to C#, and was wondering if someone could provide sample code for launching a default website from within a windows form I have a userform with various buttons. I would like to click on a button and then launch the desired intranet website. I poked around the web and this is what I have found:- Private void button8_Click( object sender, EventArgs e) { string targetURL = @http: //www.duncanmackenzie.net; System.Diagnostics. Process .Start(targetURL); } Any help is much appreciated. Hi, So I should try the following: private void button8_Click( object sender, System. EventArgs e) { string url = "htt ...Show All
Visual Studio Express Editions A little help is needed for getting started...
I tried to search the previous posts, but couldn't find any help. Could you tell me the exact orders what to do start a new project I'd probably try some C-stuff before going to C++. For example if I want to copy-paste the following code to the editor, and make it work, what to do #include <iostream.h> void main() { cout << "Hello world!"; } Probably new->win32 console application, but what next Or if you could give me a link for a good tutorial for Visual C++ Expression Edition, I would highly appreciate it. Sorry for being a n00b, but I just need this information for getting started. Thanks. ok, so it's probably my lucky day:) well, I tried to make this one: #include <iost ...Show All
Software Development for Windows Vista when exactly the WorkflowPersistenceService.SaveWorkflowInstanceState method invoked?
in msdn, it says it invoked after Unload Event. And if the UnloadOnIdle set to true, it did! but if the UnloadOnIdel set to false, the WorkflowPersistenceService.SaveWorkflowInstanceState still called sometime i'm not sure before WorkflowRuntime.Completed. But the WorkflowRuntime.WorkflowUnloaded Event DID NOT triggered that time. Why Hi,Lake something still confusing. e.g. in WF HOL Lab04, i added my custom FilePersistenceService into the WorkflowRuntime, and set the UnLoadOnIdle to true . According to ur post, i understood why the Save method invoked then, because when the RaiseCreatedEvent method triggered by that Button 'CreateOrder' in OrderApplicaiton form, the WaitingForOrder State has its handleExternalEvent ...Show All
Visual C# Progress bar refesh
Hello. I have dialog based app. inside i use progress bar control. it's appears, when i start parsing files. so it indicates how much files are passed. all ok, but when i click on the window, or going outside of my app, and going back to app, its seems like blank white window... i think problem is about redrawing window and the control, but inside my "for" cycle i use Refresh() method... here's my cycle code. m_bar - is name of progress bar control if (Get_In_Folder() != null ) { Files = Directory .GetFiles(Get_In_Folder()); m_bar.Maximum = Files.Length; label3.Text = m_bar.Maximum.ToString(); for ( int count_file = 0; count_file < Files.Length; count_file++) { m_bar.Va ...Show All
SQL Server error: the publication does not exist
I had a publication that I removed from the Local Publications folder but it still shows up in Replication Monitor (with a red 'X'). No jobs exist related to this publication either. Everything is working ok, but I can't get rid of this from the Replication monitor. Any help would be appreciated. Thanks. Yes, I'm using SQL Server 2005. I tried opening the Distribution database via Management Studio to do what you said but when I click on a table the option to open it is greyed out. This is only the case for tables in the Distribution db and for the temp_db. I can open all tables everywhere else. I tried looking into permissions but don't see any differences between settings on dbs that allow me to o ...Show All
Visual Studio Express Editions linking
This will probably sound like a stupid question, but how do I link library files to a project I looked in the Visual C++ Express Edition help files, but they didn't really help me much. thanks i mean that that method will only work on microsoft compilers, pragmas by thier very nature are compiler specific, check the visual studio docs topic on #pragma for more in depth details. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The values used in the attempt to create the GraphicsDevice were invalid.
Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 I tried that, but I continue to get the same error. I'm just trying to build the basic Windows Game (XNA) project (from File->New). The relevant (I think) code looks like this: private void InitializeComponent() { this .graphics = new Microsoft.Xna.Framework.Components. GraphicsComponent (); this .graphics.AllowMultiSampling = false ; this .GameComponents.Add( this .graphics); } There's no WindowsGame_Starting function in this example. Any suggestions AG ...Show All
Smart Device Development [Vista] + Device Emulator + Mobile Device Center
Hello, I have just migrated to Windows Vista. Everything is working (for now :-) ), I only have some problems with cradling VS 2005 Pocket PC Device Emulator. (to be more specific, i would like to share Internet between my computer and my Virtual Pocket PC.) I learned, that Active Sync was changed with Windows Mobile Device Center and that the WMDC should install via Windows Update (i run everything and checked in control panel, but WMDC was not there). Next information I received was the following one: Your Windows Mobile device must be connected to the computer for Windows Update to be able to detect the driver update and install the update. The problem is, that I don't have a physical device, I am o ...Show All
Internet Explorer Development Site shows up fine in IE6 but in IE7 it is really bad?
I have been working on a company web site for some time now and I have been trying to get ahead of the game and making it relying completely on css for layout and only have a few images that are not set as background images in css. I have also gone through the trouble to make sure the page was validated using w3c validation tool, I even changed the doc type from xhtml1.0 transitional, xhtml1.0 strict, and xhtml1.1 just to check if it would validate for each and it did. So, when I go to test it in IE7 the site completely fails and everything gets stacked in the top left corner. Anyone have any idea why that is happening I checked it out in Firefox and it load fine, though when I install (i uninstlled IE7) IE7 even firefox loads it badly. D ...Show All
SQL Server How can I FTP 3 files
Hello, I am new to SSIS. I am trying to write a simple package that saves data into some tables from elsewhere in the database, extracts it into flat files and then FTPs them to another file system. I have a control flow with three tasks. [1] Execute SQL (Executes a stored proc to fill the tables with data) [2] A data flow to extract the data into 3 flat files [3] An FTP task to move the data to the other system. In my data flow I have three parallel streams each with an OLE-DB source and a Flat file destination so that three flat s files get produced in parallel. The problem I have is that I cant get the FTP task to handle the files. I can get the flat files produced fine and I write them to the c: drive. But how do I program the FTP tr ...Show All
Visual Studio 2008 (Pre-release) Memory leaks
I have developped a WCF services that are use in stress condition. After few hours of activity, my NT Service bigger in memory. I watched it with Perfomon counter's ( Private bytes for Nt Service and Handle count for my Nt Service) and those values increase always. I use WinDbg and its utility SOS.dll and i have make a dumpheap - stat for dumped objects in NT services. I took dump at the beginning of life of the service and after 1 hour of activity. Beginning life : MT Count TotalSize 505cd8f8 769 118492 System.Collections.Generic.Dictionary`2+Entry[[System.String, mscorlib],[System.Xml.XmlDictionaryString, System.Runtime.Serialization]][] 7910af08 2021 121260 System.Reflection.ParameterInfo 505baea8 5257 ...Show All
