zn00p's Q&A profile
Visual Studio Express Editions decompiler secure?
I program simple games in VB and I would like to make a internet highscore for them. I need to be able to access and edit a file on my website. Is there a way to put my FTP username and pasword in the code to acess it without someone using a decompiler to find them. I was thinking of using MY.Settings and make it a string. Can you acess the "settings" or "resources" of a click-once application with the right decompiler what do you mean by "webservice" another application on my website I know I am a total doofus when it comes to this kind of stuff. =S ...Show All
SQL Server Performance Counters on Service Broker Transmission Queue
Hello, is there built-in support for monitoring the number of elements in the transmission queue via performance counters Thanks, There's no perfmon counter. Something like count () or sp_spaceused would be required to query the count. The message send perfmon counters probably are a better indication of what's happening at the connection level - depending on what you're trying to measure. ...Show All
Windows Forms Override how GridView gets data from DataRow
I have an app that uses several GridViews, and I was recently asked to encrypt only a few columns in my database. I already have custom classes that extend the DataRow, is there a method or version of the [] accessor I can override that is called by the GridView I need to check if the column being accessed is one of the encrypted ones or not. Thanks. Moving from .NET Framework Data Access and Storage to Windows Forms Data Controls and Databinding . ...Show All
SQL Server Simple update kills TEMPDB database in SQL2005 64-bit
Following update runs 20 hours till TEMPDB grows up to 400GB and runs out of space with error message: Msg 1105, Level 17, State 2, Line 8 Could not allocate space for object 'dbo.Large Object Storage System object: 440701391536128' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. T_PERF_LOC has 30,000,000 rows and T_MASTER_LOC has 2,000,000 rows There is and index on V_KEY in both tables. CHANNEL_KEY is of Integer datatype and not indexed. F_MAP function performs simple lookup on very small table (10 rows) ...Show All
SQL Server Using SQL Server CE in a NON .NET Delphi Application
Hi, I'm looking at using SQL Server CE as a replacement for MS Access in a WIN32 Delphi Application. This limits my database options to Providers that is usable from ADO. I see that the OLE DB Interfaces are implemented, but I can't connect to a SQL Server CE database from Delphi. I've cut and paste a sample connection string (replacing the data source bit) but no go I've installed the Runtime Environment, VS2005 bit, Connectivity Tools and the SDK :) Any help Anything that I might have missed Thanks, Dawid Stephen Hauck wrote: From what I see I would use compact edition with Delphi apps if it "suddely" starts to be accessable from Delphi :) You can now do ...Show All
Visual C# Process Module
Hi, I have an application which lists all the running processes of the machine and i need to get the full path from which the process is running. I am trying to use the following methods : Process.MainModule.Filename Process.MainModule.ModuleName The above code doesn't work it throws an exception "Unable to enumerate the process modules" any thoughts Regards Alan private static extern UInt32 GetWindowThreadProcessId( Int32 hWnd, out Int32 lpdwProcessId private Int32 GetWindowProcessID( Int32 hwnd) { Int32 pid = 1; GetWindowThreadProcessId(hwnd, out pid); retu ...Show All
Smart Device Development Serialport.Write deadlock after power up
Visual Studio 2005 Windows Mobile 5 SDK Compact Framework 2.0 SP1 IPAQ hx2790 Zigbee Compact Flash Communications Module I am writing an application to allow a mobile device to communicate on a zigbee mesh network with other mobile devices/custom hardware/pc's I interface with the compact flash device via a "Windows CE elSerial Driver" virtual serial port and AT style commands - similar to a modem. When I insert the card, the IPAQ will detect the unit, I start my software and I can detect the virtual port, open it, and read and write to the device no problem at all. The problem: After you insert the compact flash card and it detects just fine, you let the IPAQ power off automatically, or you manually press the power button. now ...Show All
.NET Development Can't figure out this error message
Good Day all, I seem to have hit a dead end. I am "attempting" to write a web application to retrieve, insert and update information in a SQL2000 database. I can retrieve information just fine but when I try to update it I keep getting the following message: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near 'UDPATE'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataS ...Show All
Visual Studio Express Editions weird exception
THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks I create the list with below code snippet, does not it seem correct int index = 1; headPtr = new Node; headPtr->item = ( rand() % size) + 1; Node *cur = headPtr; while(index < size){ cur->next = new Node; (cur->next)->item = ( rand() % size); &nb ...Show All
SQL Server Error executing Parse in SSMS
Executing Parse in Sql Server 2005 Management Studio I get the following error: .Net SqlClient Data Provider: Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. Reading SP1 fixes, I found a similar problem but despite I installed latest hotfix (sql version is now 9.0.2153) I can't able to execute Parse to check T-SQL statements... Thanks, Giulio i sense internal error.. your sql server can be sitting on a problematic OS. how about reinstalling the OS and the SQL server. well, just in case you run out of options ...Show All
Visual C++ Troubles with Ctrl+Backspace in Edit control
Hello, I started pure winapi project in C and I have troubles with Ctrl+Backspace in the dynamically created edit control. When I press Ctrl+Backspace there I can see mal-character (ugly square) instead of deleting word before cursor. Ctrl+delete works perfectly (delete word on right side of the cursor). In other applications - works. Here the code how I init the edit box: HWND hWnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("EDIT"), TEXT(""), WS_CLIPSIBLINGS | WS_VISIBLE | WS_CHILD | ES_AUTOHSCROLL, 0, 0, // x, y position 100, 20, // width, height phWnd, // parent HWND 0, GetModuleHandle(NULL), 0); LOGFONT lFont; SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lFont), &lFont, FALSE); HFONT hFont ...Show All
Visual Studio 2008 (Pre-release) Recommended machine hardware for Vista / WPF?
Hi, Any recommendations about building a Vista / WPF machine I guess the graphics card is the biggest reason to wait longer Are the DirectX 10 cards solid at this point I was thinking about Core 2 Duo for the CPU and maybe $400-$500 for a DirectX 10 graphics card. Is a quad-core CPU worth it for Vista / WPF / anything Thanks, Alex As far as Quad-core is concerned, you're paying a premium for being cutting edge. Of course having 4 cores gives the system more horsepower, a dual-core should suffice. I'd recommend going with a mid-range Core 2 Duo (like the 6400) and if you have money burning a hole in your pocket picking up an NVidia 8800 GTX with the savings over the Core 2 Quad. The sad thing is ...Show All
Visual Studio Team System CTP4 Import Problem
I attempted to import a SQL 2005 database into a SQL 2005 project. The database contains roughly 4000 schema objects and VS crashed every time I tried (4). No error message was given. It was one of the errors Windows detects and then offers to send the info on to Mircrosoft. I then tried to import the AdventureWorks database. This worked fine. Is there known issues with attempting to import larger sized databases Amos. Amos - I know our SQL2005 support is still in development (CTP4 is improved from CTP3, but we still have a ways to go). In addition, we haven't yet finished our performance work, so it wouldn't surprise me if we were having issues with larger databases. I'm not sure what the larges ...Show All
SharePoint Products and Technologies Sharepoint Services 3.0 and AD Security Groups?
I am running Sharepoint Services 3.0 on a Windows 2003 R2 Server. Everything setup without issue and works without issue. I can add AD security groups to Sharepoint groups and the users get access. However the only security groups that actually grant access are the groups that were there prior to the Sharepoint install. Any groups that were created after the install or changes to those groups are not granted access in Sharepoint. Basically I add a presharepoint ad security group to a sharepoint group for access and it works beautifully. I create a new group, add a user to it, and add it to the sharepoint group - it adds without issue but does not grant access to the site. I even tried creating the group, adding it to the site and lettin ...Show All
Visual Studio Team System Publish a Web Site on a server that has VSTS installed?
Hi, I have VSTS installed on my development server. When I create a virtual directory and point it to a simple .aspx file ("Hello World") and try to browse it, I get the Page not found error...I am able to view the page on my local box.. which does not have VSTS installed.. I am not able to understand why this is happening Also, when from my local box, when I try to publish a web site to the developement server (which has VSTS installed) nothing happens.. though I get the publish success message, I can't see any virtual directory created.. nor can I browse the site by typing .. http://server/SiteName ... How do I publish a .Net 2.0 web site on a server that has VSTS installed Any help will be greatly appreciated ...Show All
