User Profile
Collapse
-
Just reference the DLL in another project, you may want to add a method where the forms are called... -
You want to monitor which button is clicked form another app?
Just want to clarify what you want to do..
e.g:
1st App opens or executes another Executable (2nd App) which has OK and Cancel buttons..
now when you click the cancel button in 2nd app, you want to know from 1st app which button is clicked?
Is this what you are trying to do?
Cheers,Leave a comment:
-
You need to have a custom event handler.
Your Main form listens to the custom event when it is triggered from your other forms, in your case maybe in the closing event of the form...
So whenever the form closes, the event is fired where the control in your main form gets refreshed...
If you don't get what i mean, try reading C# Snippet Tutorial - Custom Event Handlers | Switch on the Code
Cheers
Leave a comment:
-
No, ISerializable can't control the size of your object. It only helps you add your object (which is not serializable) to the entire group of serializables if i may say, so that object may be accessible when you deserialize.Leave a comment:
-
i dont think so... you dont need to inherit that interface...
Just by placing
<Serializable() > for VB
[Serializable()] for C#
on top of a class, will make it serializable...
I think you inherit that interface when you need to serialize a type/property which is not serializable...
cheers!Leave a comment:
-
ASP.net: Remove flickering on page.
Guys,
Is it possible to remove flickering on page.
This is the situation...
I have a page on which i placed an event onkeydown (monitors the enter key) on which it executes a script that forces the click event on a button.
Now, every time i hit the enter key, the click event of the button works but the page flickers and i dont want that to happen. how can i remove the flickering if it is... -
there are lots of .net decompilers out there... u just have to google it... u can also download some trial version... but u wont have the full functionality of the software... i don't know if there are freewares out there...
.net Decompilers like:
Dis#
Salamander
Spices
just try to search for it...
cheers!...Leave a comment:
-
Can't Step Into a Function in a different project
HI!
why can't i step into (Pressing F11) a function from a different project..???
i have 23 projects in one solution, Project1 referenced Project2,
i placed a breakpoint in one of my methods in Project1, wherein a function call is located... this function to be called is located in Project2, but when i press F11, it does not step into the function in Project2...
what seems to be the problem?... -
VB.Net - Display Excel file as HTML
hi!
is there any way to display Excel File to HTML?
Excel file is formatted, so when displayed to a web the format is the same with the original file...
uhm,,, if someone is thinking of redirecting to the file, i already did that and it works, but, can the "File Downlaod" dialog NOT be displayed? it will just automatically open the file in html format...
tnx! -
use popup dialog to show your page using javascript...
example:
function displayPage() {
var myWin = window.open("Yo urPageName.aspx ","","width=670 px,height=580,l eft=200,top=100 ","scrollbars=y es,toolbar=0,st atus=1,menubar= 0,resizable=0,t itlebar=no");
myWin.focus();
}
you do the adjustments on the size of the window... trial and error until...Leave a comment:
-
Use System.IO.FileS tream to convert it to binary.. then save that binary value to the database...
Read about FileStream my friend...Leave a comment:
-
append "chr(34)" into your string...
"<?xml version=" & chr(34) & "1.0" & chr(34) & "encoding=" & Chr(34) & "iso-8859-1" & chr(34) & "?>"
hope im right... nyahaha...
cheers!...Leave a comment:
-
i think its impossible...
let me first try with my aplication...
but if you were able to disable it, let me know! thanks... :DLeave a comment:
-
oooohhhh....
ok! thanks you guys!
by the way, i also dont like pirated stuff... its a no-no... :D
i was just wondering if there are freewares..haha
but i found other software that is a substitute(if you cant afford to purchase it) for MVSS. which is free.. i just dont know how to use it.. anyways thanks!
cheers,
vinciLeave a comment:
-
where can i download microsoft visual source safe?
hi!
i dunno where to post my question so i decided to post it here in the .net forum because i think some developers here uses visual source safe for .net...
where can i download it (for free)?..
cheers! -
Disabling the "Unhide"?
Is the Sheet visible when the excel file will be opened?
because i think that when the sheet is visible the Unhide function will be definitely disabled...
Are you trying to say that you want the Unhide function disabled when the sheet is hidden?
cheers!Leave a comment:
-
Insert data + XML
Hi!
I am inserting data using XML in sql server.
Now, some data in the XML has the same Value as to the data in the table where it will be inserted..
For instance: i have 2 columns (Identity, Firstname, Lastname)
Identity Firstname Lastname
1 vinci vinci
2 name name
Now, in my XML:
i have
<data>... -
Prblem With Inserting Data With Identity
Greetings!
I Have A Little Problem...
Is It Possible To Make The Identity In My Table Reset?
I Have Used The Table Already To Make Insert Some Sample Data.. Now I Deleted Those Data Inserted.. The Problem Now Is That The Identity Goes On With Incrementing(ob viously)...
For Example:
I Have 2 Columns And 3 Rows..
1st Col Is The Identity, 2nd Is Some Data...
The Rows... -
"Asynchronously "... Can you explain it further? Did you do it using AJAX?
I am puzzled...:)...Leave a comment:
No activity results to display
Show More
Leave a comment: