| Declaring variable publically (VIP replies) |
| microsoft.public.dotnet.framework |
| I need to have two private subs have access to a variable. One will assign the value and the second will use it. The user will choose a file using the openfiledialog and a button The user will use a second button to begin processing the file. I can't seem to get the file name to move from sub to sub First sub Private Sub Button2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Han... |
|
| Decompiler.NET reverse engineers your CLS compliant code (VIP replies) |
| microsoft.public.dotnet.framework |
| http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it... |
|
| Decompiler.NET reverse engineers your CLS compliant code (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it... |
|
| Decompiler.NET reverse engineers your CLS compliant code (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it... |
|
| Default InputBox Behavior (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Here is my code: Private Sub cmP1JoyUpLabelSize Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmP1JoyUpLabelSize.Click lblP1JoyUp.Width InputBox("Enter the Width of the label.") lblP1JoyUp.Height InputBox("Enter the Height of the label.") End Sub After the box pops up how do I allow the user to back out without entering and data. It errors out if the input field is left... |
|
| default SecurityTokenManager bug? (VIP replies) |
| microsoft.public.dotnet.framework.webservices.enhancements |
| i put this code in both the client and server of the ResponseEncryptCode sample. (also extended the sample so that the client signs and encrypts, and the server signs and encrypts) ISecurityTokenManager stm SecurityTokenManager.GetSecurityTokenManagerByTokenType(WSTrust.TokenTypes.X509v3); X509SecurityTokenManager x509tm stm as X509SecurityTokenManager; x509tm.DefaultSessionKeyAlgorithm "TripleDES... |
|
| DefaultRedirect Problem (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| When using an ASPX page for a DefaultRedirect it does not work if the ASPX page has any code in it. If I put ... If Not IsPostBack Then lblMessage.Text Server.GetLastError.Message End If in the ASPX page it does not display when an unhandled exception is thrown. If I take the code out, the ASPX page displays properly when an unhandled exception is thrown. Does anyone know why this occurs? Thanks, ... |
|
| Define variable as static - changes even launching new browser (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have a base class (root.cs) and all my pages inherits from it. When I access default 1.aspx, it changes the base class variable intentionally. Now, when I close the browser launch a new I.E. to access default 2.aspx, it shows "changed!!" on my screen! I assume launching new browser would start a new instance everything. Can anyone explain why? thanks... root.cs (this file is compiled and put in ... |
|
| defining on which line the cursor is in a textbox (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin... |
|
| defining on which line the cursor is in a textbox (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin... |
|
| defining on which line the cursor is in a textbox (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin... |
|
| defining on which line the cursor is in a textbox (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas? I guess that posotionin... |
|
| Delegate Declaration Guidelines (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I can't find any guidelines for delegate declarations. I'm using the following, and welcome any suggestions. (MyClass is a class declared by me.) delegate void MyClass[more detailed name]EventHandler; e.g.: delegate void MyClassDisconnectEventHandler; delegate void MyClassSomethingElseEventHandler; Is this the recommended thing? Or is it recommended to simply make one, called MyClassEventHandler, ... |
|
| Delegate for a base class event (VIP replies) |
| microsoft.public.dotnet.general |
| Hi all, I have a class A' that is derived from A. A has an event that A' needs to listen to. When I add the listener (delegate), it gets added fine. When the event fires in A, it does not see any of the delegates from A'. This is really strange. Any ideas? |
|
| Delegates and Events confusion (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I have a class (let's call it ClassA) that I've written which has events. In another class (let's call it ClassB) I create a collection of ClassA objects. In a third class (ClassC) I create a reference to some of the ClassA objects created in ClassB. In ClassC I hook into the ClassA events with a foreach loop so that I hook each object. The code is something like this: class ClassC { void SomeMeth... |
|
| Delegates: How to check for target methods (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I'm using delegates to show progress when performing certain tasks. However, I'd like to check to see that there actually is a method available for the delegate to call. What's the correct way of doing that? Looking at the documentation for delegates, I've come up with: if (MyEvent.Target ! null) { MyEvent(this, new MyEventArgs()); } Still, this would be correct for instance methods only, righ... |
|
| Delete Key in datagrid - problem (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I have got a grid initally which will display value. when user wants to delete a particular row they can either can click on that row and press "DELETE" button or after selecting a row they can use "REMOVE" button which will in turn will ask for confirmation to delete. But when i click even on rowheader sometimes this it comes to PreProcessMessage. Not always. Why soo?Any clue? Also I want dat... |
|
| Delete or add new row fail in datagrid control? (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hello,everyone: I have a datagrid works fine when I just edit the exist row, but when I try to add or delete data rows, it seems fine but after i click the save button, it always throw an except when it trys to update the data to database. private void saveDate Click(object sender, System.EventArgs e) { if(AuthorData.HasChanges()) { authors1 diffAuthors new authors1(); // create dataset diffAuthor... |
|
| Deleting Tabs from Tab Control (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi All; After creating a new tab if I delete the tab I cannot close my app from the X in the upper right of the window. NE1 have a clue why. Tried stepping through the delete seems to work fine but I can not close the app?????? I am creating a new Tab this way..... ElseIf e.Button Is tbNewVol Then Dim tp As New TabPage() Dim lbl As New Label() Dim cboBox As New ComboBox() Dim tv As New TreeView() ... |
|
| Demo on ASPNG.com (VIP replies) |
| ASPFriends.com 'aspng' list |
| I am running Charles' database sample over at: http://www.aspng.com/learn/dbtable.aspx Trying to understand this subroutine: Sub Page Load(Src As Object, E As EventArgs) Dim DS As DataSet Dim MyConnection As ADOConnection Dim MyCommand As ADODataSetCommand dim strconn as string dim strSQL as string strconn "DSN student;uid student;pwd magic" strSQL "select * from Publishers where state 'NY'" MyCon... |
|
| Deny move within a listbox? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I'm looking for a way to deny a move from the current listbox item. For instance, if the user is editing the record associated with the current listbox item I want to deny a move within the listbox until they have saved the changes. Is there any way to deny a move from the current item so the SelectedIndexChanged event never fires no matter move the movement was attempted? Whether the user uses th... |
|
| Dependent DropDownList in DataGrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello, I have a datagrid with only one row and its having 2 dropdownlists, I need to populate the secodn dropdownlist on the basis of the selection in the first dropdown. but I am not able to populate the second dropdown, as its not bale to find the specified control, even though the dropdownlist with the specified name exists in the datagrid. my .aspx page code goes like this asp:DataGrid id "Dat... |
|
| Deploy ASP.net Application On Windows 2003 server. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I developed an Asp.net Application on Windows XP, and try to deploy it to windwos 2003 server. After the deployment, I try to run the application, I get the following Error: Server Error in '/GISOnlineReservation' Application. Access is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the ... |
|
| Deploying ASP.NET web application (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi I am developing web application using .net with c#. My application is working fine in the testing server. But when i deploy it in the production server it is giving the following error. What could be the cause? File or assembly name System.Data, or one of its dependencies, was not found. Description: An unhandled exception occurred during the execution of the current web request. Please review ... |
|
| Deployment Question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hey group, Could somebody possibly help? I know i ve asked this before but ended up getting so confused. If I take my .exe from my bin directory and move it to another PC, i keep getting loads of security exceptions.(See Below) Anybody got a simple how to on builing a deployment package or script to sort this. Many Thanks MCN See the end of this message for details on invoking just in time (JIT) d... |
|