Soup01's Q&A profile
Visual Basic Stopping Alt+Ctrl+Del
Hi all I'm writting a program for public payable networked computers for playing games. I've got the server/client billing and other stuff like that done. Problem is, when my program boots up, it displays a full screen form (on top of everything), which holds the login/programs they can use/play. I've managed to remove the Alt+Tab, Alt+F4 and other key combinations like that. Although, i'm finding that Alt+Ctrl+Del still brings up task manager no matter what i do. I have a solution, that on program startup, it renames taskmgr.exe, (and the backup in dllcache), and it works (Doesn't launch taskmgr), however, there is a windows warnign saying files are missing. (No big deal, i rename on program shutdown). Is there a way aro ...Show All
SQL Server Problems with Reporting services
I just installed SQL Server Express Advanced. I previous had SQL Server EXpress installed, which I didn't uninstalled. The problem is that, when I look in Services, it is not started and when I try to start it, I get a warning: "SQL Server Reporting Services started and stopped, some services stop automatically if they have no work to do". I have IIS installed and running. I have disabled Apache web server. What could be the problem Thank you. Just in addition, if you install the Framework before installing the IIS you will have to use the aspnet_regiis.exe -i command to make the IIS framework-ready. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Importing from xls that has all data in first column
I have a spreadsheet that has all of the data in the first column. The data is delimited by asterisks and there are no column headings. My goal is to import the data into a SQL table. I get the error message "External table is not in the expected format" when I try to select the name of the Excel sheet in the Excel Source Editor. I tried reading using a flat file connection instead of Excel connection, but that didn't work. In Excel, I can use the Text to Columns feature to convert the data to columns in the spreadsheet. But I have to go into the file manually to do that. Is there a way in SSIS to do the same thing automatically Or is there a way to save the XLS as a TXT file Then, I could just use Flat File Connection to re ...Show All
Smart Device Development DataGrid add and delete rows problem
Hi. I developped a mobile inventory system under Vistual Studio 2005 C#.net, i bound datagrid with inventory table. i can add rows at some search condition to the DataGrid, i can delete selected row in the DataGrid, but after update the dataAdaptor, the deleted row still there. The following is my code. Add rows to the DataGrid barCodeString = textBoxBarCode.Text + "%"; this.inventoryTableAdapter.FillByBarCodeName (this.orderDB_enDataSet.Inventory, barCodeString); Delete rows from the DataGrid int i = inventoryDataGrid.CurrentCell.RowNumber; orderDB_enDataSet.Inventory.Rows.RemoveAt(i); this.inventoryBindingSource.EndEdit(); this.inventoryTableAdapter.Update(this.orderDB_enDa ...Show All
Visual Studio 2008 (Pre-release) How to create a Popup control that has the look of a callout window in Excel Autoshapes collection
I need to create a popup window which has a bunch of controls in it, when user presses a button control. The look of the popup window needs to be like the Callout box that appears as part of Excel's autoshapes collection. Another example is in Windows the little popup window that appears on the "install update" startup icon on the taskbar. When we startup the machine the popup window appears which has the msg "Updates available" displayed in it. Is there a way to create this kind of stylised popup window in WPF Thanks, You go at it the same way. Just place whatever graphical elements you wish to have in your control template. I made a quick vector image in Expression Designer and then export ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Any idea when XBox Live comes to the PC?
I heard it was coming but I wasn't sure on the date. Any idea redshock, I have not heard a definative date but I do know that Shadowrun will be the first game to support 360 users in addition to PC users, so I would guess sometime before this game is released and if not when it is released. Thanks. Cale ...Show All
Visual Studio Express Editions Class problem
public void getHighestBlokje() { foreach (blokje b in this.blokjes) { for (int x = 0; x != 4; x++) { switch (x) { ...Show All
Smart Device Development winCE4.2 and CF2.0 SP1(a strange problem) pls help
Hello, I want to develop a program with .NET2.0 on a winCE4.2 device. I used CF2.0 SP1 and could be able to run programs on the device. But weeks later, I hard resetted the device and installed .NET CF2.0 to the device again, and I uninstalled .NETCF2.0 SP1 and installed it again.It installed the files and at last tried to connect to device but an error occured: "Microsoft .NET CF 2.0 does not support the connected device type. Application Manager will make the applciation available for installation when a supported device type is connected." I wish I could explained my problem. If it is not clear, I try to explain more. These CABs are for CE 5 as "WCE5" in the name suggests. These files should re ...Show All
Smart Device Development Real-time Update Chart
Hi, Is there any example for real-time update chart 2-D is OK. The XAxis should be the real time with minorunit as 12 seconds and majorunit as 1 minute. The beginnig point should be the current time when the application is started...As time goes on, the XAxis will also changes (Growing). Well, I do not know how to make the start point of the XAxis to be current time and the following points are time in the future, say five minutes at first. Then, the range will grow and the past time should be reserved....Well, I can not solve this problem~~~ Can anyone help me For starters simply try connecting these points with strait lines. At 5 samples per second average human probably won't be able to notice if graph is smooth ...Show All
Visual Studio Express Editions checkedlistbox wont single select
i have a checkedlistbox with five items, at run time i can select all. the selectionmode property is set to single. Paul The selectionmode property has no "Single", but it does have "One" which is the default. This allows one check at a time . Remember a checkBox is for multi-selections. If you want only one selection you may want to think about using RadioButtons instead. ...Show All
Visual C++ How To GetType()
I have a compare method that I wqant to check if the passed objects are strings or integers so that I can sort them appropriately (sorting integers as strings ends up with numbers in the wrong place, eg. 17, 1, 4, 7). virtual int Compare( Object^ x, Object^ y ) { //some columns contain strings and others integers //check if the passed objects are strings if( x->GetType() == WHAT SHOULD GO HERE ) return (-1 + 2 * ascending) * String::Compare( (dynamic_cast<ListViewItem^>(x))->SubItems[ col ]->Text, (dynamic_cast<ListViewItem^>(y))->SubItems[ col ]->Text ); //otherwise compare integer values return (-1 + 2 * ascending) * (dynamic_cast<Int32^>((dynamic_cast<ListViewItem^>(x))-> ...Show All
Visual Studio Express Editions I have a question about references
I have just completed my second project, they both have references to .Net Framework 2.0 Does this mean that both my programs need .Net Framework 2.0 to work, or will the work without it Thank you. It all depends on the application. While the .NET Framework is supported on a good number of Windows platforms, not all of the classes under it are supported on every platform. For the most part though, these issues are rare but are still reason enough to test on platforms you think might be used (ahh the joys of testing a 1.1 app on NT4). Aside from the occasional class incompatibility... the underlying platform can be an issue where the program isn’t just using .NET classes but is also P/Inv ...Show All
Visual Studio Express Editions Data saver
I was wandering how do i make a program that saves data The thing you are mentioning is a little bit, lets say wide thing. What kind of data do you want to save and in what form I mean in bytes, long, binary Thats important for the way you are saving it. ...Show All
Visual C# Hiding Files
I am looking for a way to hide files using c#. I know about changing the file attributes to hidden but I want to hide them regardless of the users view settings(ie. show hidden files). There are tons of programs out there that do this but I cant seem to find any examples of how. Any help would be greatly appreciated. Thank's Brad (This reminds the old good DOS days when I hid my files under "BAD" clusters....) Since you said "any" help, here it goes - how about hide your data into some other file formats such as a wav file The wav file have data blocks that you can put your own data. The media players / sound players will play the sound fine even you have extra data stuffed inside. ...Show All
Visual Studio 2008 (Pre-release) Returning Files as a Stream
I have a WCF contract that returns a stream. I am normally returning an XML file. This works fine, but whenever I return a 'null' or binary file, the WCF comm seems to get hosed. This is a self-hosted console app. Here is my app.config. <endpoint address="net.tcp://localhost:8002/ProLab/" binding="netTcpBinding" bindingConfiguration="" contract="NCRx.ProLab.Common.IProLabServer" /> The interface is set up as a duplex interface as follows. [ServiceContract(Namespace = " http://NCRx/ProLab/Server ", SessionMode = SessionMode.Required, CallbackContract = typeof(IProLabWorkstation))] interface IProLabServer { /// <summary> /// Notifies the ...Show All
