Topics
-
-
- Leaders
- 3 replies
- 5.6k views
Where can I find an implementation of a Fibonacci Heap in C#? I have found one in C++, but it doesn't work properly for me.
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 1.7k views
I am using this code to disable the "X" (close) control on a .Net 2.0 form, but is there a better way? I'd rather use code from the .Net framework instead of VB6 code. Public Class Form1 Public Declare Function GetSystemMenu Lib "user32" (ByVal hwnd As Integer, ByVal bRevert As Integer) As Integer Public Declare Function RemoveMenu Lib "user32" (ByVal hMenu As Integer, ByVal nPosition As Integer, ByVal wFlags As Integer) As Integer Public Const SC_CLOSE = &HF060& Public Const MF_BYCOMMAND = &H0& Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated Dim SysMenuHandle As Integer …
Last reply by snarfblam, -
-
-
- Leaders
- 2 replies
- 2.5k views
Simple enough - I had an application composed of a single form (frmMain) - now for the next version I needed to add a new form (frmFirst) to be displayed first (as sort of a control form). Instead of displaying frmMain first I want to add a control form (frmFirst) to check and see if the user can proceed to launch the actual application. I assume this can be done without moving the main() from frmMain to frmFirst (right?) This is a step-by-step of what I am trying to accomplish: - Application Starts - frmFirst is displayed to the user - if the user presses OK then frmMain is displayed to the user and frmFirst is closed/disposed/hidden (no more need) - if the …
Last reply by snarfblam, -
-
-
- *Experts*
- 1 reply
- 1.4k views
I'm new to ASP.NET, so this I'm sure is a simple question. I'm trying to keep the user posted as to what the code is doing as my code runs. Something like'Some code here 'Show user what is going on Span2.InnerHtml = "Still working...please hold" 'Some more code that takes a while 'Show user what is going on Span2.InnerHtml = "Finally finshed, thanks for waiting"This code I have now doesn't work right. You don't see the the first one. All you ever see is the "Finally finshed, thanks for waiting". It's like it doesn't update or refresh the text displayed to the user till the sub (button click event) is completely done running.
Last reply by Nerseus, -
-
- 0 replies
- 1.1k views
Hi Friends, I am new to CrystalEnterprise. I want to retrieve all the information (Folders, Users,Reports,Report Parameter info etc) from Crystal Enterprise using the ASP.NET application. Please help me how to connect to Crystal Enterprise through .NET application.. Thanks Satya Gummadi009@yahoo.com
Last reply by anand, -
- 1 reply
- 2.6k views
Crystal reports drives me absolutely bonkers with issues like this. My problem is that I've created a crystal report that is located on the server in which the report source is a stored procedure from MSSQL. Now I have two parameter fields Start and End along with some formulas. The issue is that if I set the report up like thus: crReportDocument.Load(rptPayrollTransmittal) crReportDocument.SetParameterValue("@Start", CDate(txtStart.Text)) crReportDocument.SetParameterValue("@End", CDate(txtEnd.Text)) crReportDocument.SetDataSource(dsPayroll.Tables(0)) I get a problem with the formula field saying that the parameters Start and End are not known. So I changed the …
Last reply by jccorner, -
- 0 replies
- 2k views
I'm writing a Windows Form application in VB.NET, and hosting an AxWebBrowser control on one of the forms. The form in question is used to display HTML format e-mail messages. I take the HTML body of the e-mail, use it to create a web file (.htm), and then navigate to the file. This all works fine; however, I want to implement some security options. Specifically, I want to block any ActiveX controls in the e-mail to prevent viruses. Does anyone know how to do this?
Last reply by JLSEsq, -
-
- Administrators
- 2 replies
- 745 views
Hi, I just started to use C# and I have a problem. Code: myConnection.Open(); myDataReader = myCommand.ExecuteReader(); while (myDataReader.Read()) { Label1.Text = (string)Clientes.GetValue(0); // Error below when there is a null value in the database Label2.Text = (string)Clientes.GetValue(1); } I tried a if else to teste the null, diferent casts but can't seem to find a workaround, can anyone help? Thanks in advance, Mad Cat
Last reply by Mad_Cat, -
-
- 3 replies
- 1.6k views
I'd like to be able to allow the user to select objects from a range of toolstripbuttons and add those objects to a picture box in two ways: 1. By a normal dragdrop procedure from the button onto the picture box. That's easy enough to achieve. 2. Secondly I'd like to allow him to do add the object by clicking the button, so it is selected, and then clicking on the picture box. That again isn't too hard, except that he needs some visual feedback through the cursor to show that an object is going to be added if he clicks on the picture box, and I'd like to use the dragdrop cursor for that, for consistency. But I can't - if I initiate a dragdrop procedure when the mous…
Last reply by mskeel, -
- 1 reply
- 812 views
I want to sort a list view by type similar to Windows Explorer. Is this possible?
Last reply by mskeel, -
- 1 reply
- 1k views
hi, I am using image buttons for saving data. on onclick of image button i need to display confirmation message "Do you want to save data?".This need to be done on client side. on "ok" i am updating the data. I wrote confirm message script.It is working, but validations present in the page are not working. can any one help me to solve this problem. I need both confirmation message and validations to work. Thanks
Last reply by karths, -
-
- Administrators
- 4 replies
- 1.7k views
I have Three Servers 1-->WebServer 2-->Application Server 3-->DatabaseServer Now I want to store all my .aspx pages on to (1)WebServer dll assemblies on to the ApplicationServer and DataBase to the Database Server What I should do to make this happen ?How and where I make configure so that the pages detect assemblies (dlls) from the Application Server. Can any one help me ?
Last reply by sureshcd10, -
-
- 0 replies
- 2.8k views
Hiya Has anyone had any experience in creating a virtual webcam driver in .NET (C# or VB)? You may know the programs such as SplitCam, Webcam Splitter etc, that create multiple virtual devices connected to one webcam, allowing you to use the webcam in more than one app at the same time.....i would like to find out how to mimic this functionality. Any ideas would be very welcome, i imagine i am going to have to delve into the Windows API with this, but im not sure which ones would help me, and searching MSDN doesnt seem to be very frutiful Cheers Stu
Last reply by stustarz, -
-
- Administrators
- 2 replies
- 929 views
while visiting some sites I can see a lock symbol on the bottom of the browser window indicating that it is using a trusted site. How can I display with my .aspx pages.?
Last reply by sureshcd10, -
-
- 0 replies
- 961 views
Hi all Is it possible to integrate the google toolbar autofill with asp.net textboxes? I tried it with the .NET 1.0, but failed, was only suitable for html input controls. Mike55.
Last reply by mike55, -
-
- Leaders
- 2 replies
- 1.3k views
Hi, I want to make a search bar simular to the firefox search bar. So I want it to close when I press Escape. The problem is, when I press Escape, it won't run the KeyUp, KeyDown or KeyPress sequence. I tried it on the toolbar, the textbox in the toolbar and on the button, none work. Private Sub tlTxtSomething_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles tlCategorie.KeyDown If (e.KeyCode = Keys.Escape) Then tlSearch.Visible = False End If End Sub
Last reply by Stoffel85, -
-
- 0 replies
- 989 views
Hello, Can an asp.net listbox detect right mouse clicks on the list items? As in, can it differentiate when the user right clicks on the list items and when the user right clicks on the listbox's empty space below the list items ? Please advice :)
Last reply by LiLo, -
- 1 reply
- 780 views
I'm not sure how to start this one. I want a simple button that changes the current folder up one level. The current folder is displayed in a combobox. can anyone help me get started?
Last reply by mskeel, -
- 1 reply
- 1.2k views
I have a notify icon in the system tray for my application. When I right click the icon, a menu pops up with 3 items to pick. Here's where I'm stuck - how do I make my program do something when I pick one of the 3 items on the menu? ie. what is the event to catch the click on a context menu? Here is my code so far: Public Class Form1 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Initalize the NotifyIcon object's shortcut menu. Dim menuList() As MenuItem = New MenuItem() {New MenuItem("Menu 1"), New MenuItem("Menu 2"), New MenuItem("Exit")} Dim clickMenu As New ContextMenu(menuList) NotifyIcon1.ContextMenu = cli…
Last reply by mskeel, -
-
- Administrators
- 3 replies
- 863 views
Ok, I want to try to create a module system. I thought of a special folder with some DLL's as the modules. Each DLL must have a class and the class name must be the same as the filename. Each class has also 1 main function which I can call. is it possible to create a reference or something for each DLL? Is this a smart method, or is it better/easier to do it on an other way? Thanks in advance :)
Last reply by MrLucky, -
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online