MKashay's Q&A profile
Windows Forms Encryptor's security
Hi, there *************************************************************** RijndaelManaged RMCrypto = new RijndaelManaged(); byte[] Key = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16}; byte[] IV = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,  ...Show All
Visual Basic vb keypress probs
sup. im doing my computer programming ISU in vb. but im having a wierd problem. it might seem easy to u peaple but i only started learning vb a month ago. i learned how to move stuff with the keypress thing but the game im making the keyypress wont work with it. heres the code Dim a(0 To 5) As Integer Dim b As Integer Private Sub Command1_Click() a(0) = Rnd() * 40 + 10 a(1) = Rnd() * 40 + 10 a(2) = Rnd() * 40 + 10 a(3) = Rnd() * 40 + 1 ...Show All
Visual C# Communication Between Froms...
I currently have a form that I am using to store variables/arrays/etc. I have just created a second form. The form is launched when the user selects a button. I have launched the form by simply instantiating the object, like this: Form2 f = new Form2(); f.Show(); However, there is data that I need to retrieve and display from the first form (Form1). Would anyone know how I could go about doing this Thanks, ...Show All
.NET Development How to get "Everyone" account name string culture indenpendantly
Hello, I'm trying to give permissions to a message queue with this code line: logQueue.SetPermissions( "Everyone" , MessageQueueAccessRights .FullControl); This works fine on a english Windows XP, but the problem is that when I try to run this code on a portuguese Windows XP it fails because the "Everyone" account does not exist, it is called "Todos". How do I get the "Everyone" account name stri ...Show All
Architecture workflow engine and rule engine performance
Please give me your criticakl comments on performance degradation issues arising out of usage ofworkflow and rule engine vis a vis increase in scalability and agility Hi Though tools like Biztalk combine both there is a difference between Rule Engines and Workflows BPEL is a specification for Worflow language There are several specifications for Rule langauges such as RuleML and SWRL but not all rule engi ...Show All
Visual C++ What's the difference between OnSize() and OnSizing()??
Will these two functions be called in sequence and in what sequence If I recall correct OnSizing happens during the resize, while OnSize is called after the fact. -- b.gr P.S.: The MFC docs cover this in a pretty understandable way :] ...Show All
Software Development for Windows Vista XADLL With Oracle
Hi all, On an XP sp2 system (using fat32), I try to run a COM+ server using XA transaction with oracle 10 client. I have a "8000D048" error in the server application. and I can see in the event log a message telling me to add the XADLL key in the HKLM/software/microsoft/msdtc registry. I already had the XADDL key with this value. name : "oraclient10.dll" value : "C:\oracle\product\10.2.0\client_1\BIN\oraclient10.dll" does it so ...Show All
Windows Forms Dynamic Property
Hi! Please help me! I plan to write my onwe button control, which have "Style" and "Grand" property. I want "Grand" property is hidden from Property Grid Window ("of IDE") when "Style" property is set to "IDE" and it is shown when "Style" Property is set to "Office2003". Where: - IDE and Office2003 is value of Style enum type as bellow: public enum Style{ IDE, &nbs ...Show All
Windows Forms Using Updater Application Block as a service ...
Hi everyone, I hope that this thread isn't too off topic, but I can't find anywhere else to post it. So here's my problem...I'm trying to use the updater application block as a service, but I'm running into the following error. If the application is open while trying to run an update, it throws the following exception: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module. Additional information ...Show All
Visual Studio Express Editions looking for a solution to networkstream problem
Hi, I have some code (attached below) which performs a http get against a webserver, the problem is I only get part of the page returned, any ideas as to why this is would be greatly appreciated. This code just demonstrates the apparant problem with the networkstream object, yes I know this example could be done with the webclient but what I really need to do goes beyond the capabilities of the webclient object. If any MS boffs would like ...Show All
System Center Disk space used
For the Utilization by resource Simulation result, does the utilization refer to disk throughput utilization or disk space utilization If it is for disk throughput utilization, how can I find the disk space utilzation It would ben really good to know how big the Exchane databases will grow and how many log files will be produced over a given period. Thanks. Ben .. For a given deployment, SCCP calcul ...Show All
Visual Studio Team System Lost version control mapping in Team Explorer tool window
I created a team project called Foo. Then I created a workspace via the command line called Main that mapped $/ to C:\Projects\Foo. It turns out that mapped the root of the repository which I discovered after I added some directory not to $/Foo but to $/. So I remapped $/Foo to C:\Projects\Foo. Then I wanted to move the dirs from $/ to under $/Foo. Well now I had to map $/ to C:\Projects (that seemed to remove the $ ...Show All
Visual Studio Express Editions AddNew issue with BindingNavigator
Hi I'm using Visual Basic Express Edition 2005. I've created a simple form which contains several text boxes and combo boxes which are databound to a BindingSource. The form also contains a BindingNavigator which is linked to the same BindingSource. All of the form controls work correctly when navigating back and forth through the DataTable (linked to the BindingSource). Also, I am able to delete a record and this is correctly reflected back ...Show All
.NET Development Sending a DataTable over TCP \ IP
Hi, I'm writing an application in which a client is able to transfer the menu of the restaurant with images of each drink, food, e.t.c over TCP \ IP from the server machine. Remoting and serializing are easy to use but thye use too much bandwidth. Which is the best ( most efficient ) way to transfer whole menu as fast as ( I do not mean using UDP for the "fast" keyword ) possible There is a ReadXml and a WriteXml meth ...Show All
Software Development for Windows Vista Activity Position in Workflow
hi al, i wonder, how i can find out, whether an activity is the first activity of a workflow. does anybody have a clue thanks in advance, regards, .k Use the properties on the activity such as parent, to get up to the root activity, then check to see if the first child of that activity is equivalent to yours. You may have to use more intricate logic if you want to make sure you are the first ...Show All
