Michele_T's Q&A profile
Visual C# Disable System
Is there anyway that I can totally disable the computer programmatically from doing anything unless you know the correct password Thank-you Peter. with that... http://www.pinvoke.net/default.aspx/user32/LockWorkStation.html http://msdn2.microsoft.com/en-gb/library/aa376875.aspx ...Show All
Windows Forms Building a file with Express Edition?
This is probably a very stupid question, but I have no idea what went wrong. I ran a build last night, as well as a publish. I got two files, one of which seemed ready to install on my home computer. It was program.application, and the other file was program###.application. I sent it to my work computer to install it here and it doesn't work. How do I build an exe file using Visual Basic Studio Express Edition What simple and obvious thing am I missing as for publishing I'm not sure but moved the thread to the correct forums for the experts to help you here. as for building a single/project exe file its simply Build > Build solution or CTRL+SHIFT+B which will output it in your project\bin\debug fol ...Show All
Visual C# C# Date Time Help
Ok I am writing this program to log me into WoW at a sertain time set by the user, but right now it won't work. My question is how can I get it to continually check against the current time and then fire the process when they are equal right now the way it is I just get a Not responding error in Task manager with it. [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; /* NoWait V1.0.0 by TRTwiggy * * Date: October 22, 2006 * * Author: TRTwiggy AKA Tyler Reid * * Description: This program was written for two reasons. The first is to help * develop my coding skills. The second is that I got so damn tired of get ...Show All
.NET Development Object List in C#
Hello, coming from C++ and using a lot of MFC stuff, I wonder what object exists in C# which does the job of a CObList in C++ I mean being serializable and being able to stock different types of runtime class objects. Thanks for any further information ... Best regards MMM Hello once more, I got an example working but I'm not really happy with one detail: The serialized objects don't use a function serialize as in C++ within which I could take care about historical versions of the object, which allowed me to keep a compatibility with any old serialized archive. How can I do this in C# Deserializing older objects data into a newer version of the object E.g. an Object circle which had 2 parameters Linewidth ...Show All
SQL Server Easiest and performance effective way to store blob into varchar column
Hi, My package dumps the errors into a table. The problem is, it couldnt dump Error Output column to a varchar field. I have added an script component in between to transform to string but no success. I tried ErrorOutput.GetBlobData(0, ErrorOutput.Length) but when I query the database, it says "System.Byte[]' I will appreciate the responses to this post. Thankyou, Fahad Phil Brammer wrote: Fahad349 wrote: I dont see any column in error output of FF Source. It just says ErrorCode, ErrorColumn and Flat File Source Error Output Nothing else. "Flat File Source Error Output" is a data flow, not a column. Double click on that to see the metadata of it and you'll see all of the necessary columns that you h ...Show All
Visual C# Modular Programming in C#
I'm in the design phase of building a modular application in C#. I'm new to C# and .NET and I was wondering how C# handles modules. In our project, we have an executive module that is the brains for the GUI and a group of compute modules. My question is how do I get these modules to talk to each other Do I use DLLs, application domains, or compile them as executables and use remoting I'm trying to speed up the learning curve, thanks for the help! James: My apologies for being vague. When I use the word module, I'm describing different processes. The GUI and Executive modules are being programmed in C# using .NET. The compute modules are in unmannaged C++. Jobo: Thanks for the advice. That's what I was leaning towards, but I was thro ...Show All
Software Development for Windows Vista Unable to open workflow in VS.NET 2005
Hi all, I'm having problems opening a workflow in VS.NET 2005. I can create a sequential workflow project without any problems, but when I double click on the Workflow1.cs file to open it, I get a dialog box with an error saying: Method 'GetSelectedPropertyContext' in type 'Microsoft.Workflow.VSDesigner.ExtendedUIService' from assembly 'Microsoft.Workflow.VSDesigner, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation. I have the following installed on the machine: Microsoft .NET Framework 2.0 Microsoft .NET Framework 3.0 Microsoft Visual Studio 2005 Professional Edition - ENU Visual Studio 2005 Extensions for Windows Workflow Foundation Windows Workflow Foundation SDK RC I also get ...Show All
SQL Server Limited Functionality on Side-by-Side Install
We are testing our SQL 2000 db on a test box in which we loaded SQL 2000 first and then installed SQL Server 2005 Enterprise Trial edition side by side. I am trying to execute new functions in SQL 2005 against the Northwind db to test and these functions are not recognized. What am I missing Older sample databases like pubs, northwind are in 80 compatibility mode. So newer keywords or certain syntax of statements or functions behave differently in that compatibility mode. You can either change the compatibility mode of the northwind database by running "sp_dbcmptlevel 'Northwind', '90" or create a new database which will automatically be in 90 compat mode or use the new AdventureWorks sample database. For more details on ol ...Show All
.NET Development 3 DES with 32 byte key Length with Visual Basic DES Class to decipher an IBM 3624 Pinblock
Hey guys, I have a problem on my hands at the moment as I am trying to decrypt a string with 16 bytes and 2 key components of 32 bytes. As below: Key component 1 = F457E52AB083BCECA17F230B23B36B34 Key component 2 = 6D52616E5D755B4ADA948F31ECD5107C Encrypted block = 2C187291DCEEB9B9 From what I have picked up the visual basic DES class does not support that. Is any way I get round this. skimming through CCA Release 2.41 on IBM's website may yield necessary information. From what I read about people attacking IBM 3624 there are certain offsets applied before encrypting/decrypting. ...Show All
Windows Forms Ascii problems with RichTextBox
I have a problem when i save/load information from a RichTextBox, when i save the information into a text file every character that has larger number then 127 in ascii-table becomes strange, so the character O will be \\'d6 and character a will be \\'e5 and so on. And that is a big problem when i later tries to insert the text into the sql database. This character ' is causing problems in my sql query. So, the thing i want to know is, how can i save the information in such a way, that it won't convert every character that has bigger ascii number then 127 into strange character formation. One more thing, i have to save the information in RichText format becuse im using pictures in the RichTextBox. //Mario ...Show All
SQL Server '.bcp file is corrupt' with dynamic snapshots
I have merge replication set up between sql mobile and sql 2005 (just recently upgraded from sql 2000). My publication has around 40 published tables, about half of them are filtered. The other day I noticed that the initial replication to get the entire database was downloading the same tables multiple times. The last test was each table was downloaded 10 times. So I did some research which brought me to the following fix, which was to implement dynamic snapshots. However, when I try to replicate, it generates a dynamic snapshot, but it fails with the following error… An error occurred while reading the .bcp data file for the 'MSmerge_rowtrack' article. If the .bcp file is corrupt, you must regenerate the snapshot before ...Show All
Visual Studio ReportViewer Export to PDF and DPI / Resolution
I have a quick question (I hope)... Can anyone tell me what the resolution / DPI is for the exported PDF files out of the ReportViewer (RDLC). Or if there are setting to override them I have searched high and low and cannot seem to find this information anywhere. Thanks for your time! Jim Ludwig :: Applications Architect clever method, Inc. PDF is a vector-based format, so there is no DPI for the PDF as a whole. Charts however are exported as bitmaps into the pdf -- 300 dpi. ...Show All
Visual C++ ComCollection from VC6 to VC8
Hi all, another "hot" problem when I compile a VC8 project ported from VC6. I have a ComCollection class where I have defined: typedef vector< CComPtr<T> > COLLECTION_VECTOR; typedef COLLECTION_VECTOR::iterator COLLECTION_ITERATOR; Unfortunately the COLLECTION_VECTOR typedef isn't accepted by the system. Here is the error: Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Any idea is well accepted. In any case, thanx for your time. Marcello This is a C++ question but you posted it in the C# forum. I'm moving your question to the C++ forum. Michael Taylor - 12/18/06 ...Show All
Visual Studio Team System Filegroups
I am receiving this error when using the project "deploy" option. Error 1 Msg 5035, Level 16, State 1, Line 1 Filegroup 'ppf_table' already exists in this database. When I use the "build" option, this error does not occur. This file group does indeed exist in the target database. What I can't figure out is why it attempts to create it given I am using the "update deploy" option. I tried removing the file group items from my project in the solution explorer. This caused all of them to be removed (temporarily) from the schema view except for this one. No difference. When I tried to generate a change script via schema repair, the script created was fine - it did not include an attempt to recreate t ...Show All
Visual Basic VisualStudio 2005 BUG
Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file to this location: Q:\Development\Visual Studio 2005\Projects\projectname\projectname\bin\Debug\projectname.vshost.exe. Please verify the path exists and is writeable”. (projectname changed to protect the innocent) Think it is due to the code being not being on my machine but on the network A ...Show All
