Topics
-
- 0 replies
- 986 views
I cannot start it up by executing it throught .NET. This works just fine: Process.Start("\\mySQLDump.exe", "--help"); I can see clearly the help menu appear, even if the DOS window closes emidiatly. This works if I type it directly on command window or executing from "Start/execute" "mySQLDump -u root myDatabase > d:\test" However, the following does not work: Process.Start("\\mySQLDump.exe", "-u root myDatabase > d:\test"); Why? Well I managed to take a screenshot from the DOS (after many tries) with the following message: c:\mysql\bin\mySQLDump.exe: Can't get CREATE TABLE for table '>' (Can't find file '.\myDatabase\>.frm (errno: 22)) …
Last reply by EFileTahi-A, -
- 0 replies
- 4.1k views
I find it a bit irritating that the vertical splitter in the propertygrid control is set to the middle of the control initially and also when the user double clicks on it. If the field names are much longer than the values, they may end up partly obscured while the values have more space than necessary. So I thought I'd have a go at fixing this. I've had partial success in this and I thought I'd post the code here in case either it's of use to anyone else or someone can tell me how to fix the problems that I mention in my comments. In the latter case I would be particularly pleased to hear your suggestions. So here it is - you just need a form with a propertygrid control …
Last reply by rbulph, -
- 1 reply
- 1.1k views
hello ladies and gents!I've been kind of lurking around.I love this site! thanks for having me :)
Last reply by mooman_fl, -
- 2 replies
- 1.2k views
I have written an application in Visual Basic 2005 that is using crystal reports. My problem is that I have installed the applicaton on a test machine and it is working fine, however the installation of the application caused the other application written in earlier versions of visual basic are no longer able to view there crystal reports. Upon further testing I found that just installing the .NET framework 2.0 the one Visual Studio 2005 requires causes this problem. My question is are there any problems with installing the new framework and it causing problems with application that use an earlier CR viewer to view there crystal reports and if so is there a fix and what i…
Last reply by TMI, -
- 0 replies
- 926 views
I am printing several extrenal reports that were created in Crystal Reports XI through code in vb 2005. But, sometimes there will be a report that does not have any information for it but a blank page gets printed anyways. I have been trying everything I can think of so that the blank reports will not be printed. But have had no luck yet. Below is the typical code used for each report. rptToOpen.SetParameterValue("LabelName", strRouteTo) rptToOpen.PrintOptions.PrinterName = strWorkOrderPrinter Try '///This is one of my attempts at solving my problem/// If rptToOpen.Rows.Count > 1 Then rptToOpen.Pr…
Last reply by TMI, -
- 1 reply
- 1k views
It's somewhat slow everytime I switch from design to preview and vice versa, when I use more than 3 tables. Is it happen to all of you or am I miss something? I hope there's a solution for this. Note: My CPU spec has P4 3ghz and 512 Memory, so I guess hardware performance isn't the issue. . .
Last reply by TMI, -
- 1 reply
- 10.4k views
I couldn't find any category for crystal reports so I am writting here. Sorry for that. In my report each row displays the maximum { Max(field) } value of a set of feilds using Max function. These rows are in each Group. I want to display the sum of these row in the Group Header at the top of each group. The Sum() function doesnot allow me to do the sum of Max fields, so I am adding each row's value to a variable and displaying that variable in the Group Header. Variable x; x = x + Maxfield; But it displays only the value of the first row. Correct result: Group 1 Total - 5 (Sum of 3 + 2) Row#1....3 Row#2....2 My incorrect result: …
Last reply by TMI, -
-
- Leaders
- 2 replies
- 1k views
I have a button that bolds selected text in an Rtf textbox. The problem is I want to be able to unbold the selected text if they click the bold button again the and the selected text is bolded. Just adding and undo button will not work because the user could have made several changes since bolding the selected text. Basically I want it to work like Word. This has to be in Visual Basic.NET. Any help given is greatly appreciated.
Last reply by techmanbd, -
-
-
- Administrators
- 2 replies
- 1.2k views
Does anyone know how to populate a CheckedListBox from a directory?
Last reply by techmanbd, -
-
-
- Leaders
- 2 replies
- 942 views
Ok so I wanted to be able to use a joystick to send keyboard shortcuts to an application. I have all that working. My problem is unless the application that is sending the keys is the active window nothing happens. my application is ment to sit in the tray and wait for input from the joystick. Can this be done? and how. The application is for a remote for an audio player. I wasn't sure if this would be a directx issue or not that is why it is posted here. Thanks for any ideas you may have. ZeroEffect
Last reply by snarfblam, -
-
-
- Administrators
- 1 reply
- 1.7k views
I'm try to set (design time) the SelectionMode in a checkedlistbox to MultiExtended. Here's the message I get. "Multi-selection is not supported on CheckedListBox." Isn't the whole purpose of a checkedlistbox to be able to select multiples? Something's not right.
Last reply by PlausiblyDamp, -
-
- 1 reply
- 1.1k views
Hello members, I am using Visual Web Developer. I added a data handling class of mine to a project just to realize it was not getting recognized. The problem is not of a name / resolution but of a location or other VWD rarity. I just found out about a folder called App_Code where my class does get known but I'm getting questions in my head now like: Does my general code (not codebehinds') must be located under this folder to the application would work? Sure is more organized and I will probably end up using it, but I still want to know if this is the only way. Regards, George
Last reply by eramgarden, -
- 1 reply
- 1.7k views
Hi All, What I am trying to do is probably ridiculously easy but I need your help. For example I am trying to call the click event of button called Button1. Here is my attempt (line 6 being the line of importance): 1 <html xmlns="http://www.w3.org/1999/xhtml" > 2 <head runat="server"> 3 <title>Ajax</title> 4 </head> 5 <body> 6 <script type="text/javascript">Button1.click();</script> 7 <noscript>alert("Disabled");</noscript> 8 <form id="form1" runat="server"> 9 <div> 10 <asp:Button ID="Button1" runat="server" Text="Button"/></…
Last reply by eramgarden, -
- 1 reply
- 1k views
In VB6 the listbox control had a style property that allowed you to set it to 1 - Checkbox. I'm not finding it in VB.NET. Any Help out there? Thanks, Bernie
Last reply by bjwade62, -
-
- Leaders
- 9 replies
- 6.4k views
Is there any way that I can get the property grid to forget the idea of showing non-default values in bold? Not every property logically has a default value, and I find it distracting that, for me, the column with the values is all bold, because I don't have any default values. I was wondering if I might be able to substitute all property descriptors for custom ones which inherit from PropertyDescriptor, and override a function that determines whether the value is the default one, but had no success when I looked into this. Any other ideas?
Last reply by snarfblam, -
-
- 2 replies
- 1.1k views
Hello, I am making a function for a class and I wantone of the parameters of the class to only allow certain selections in the intellisense. Basically what I want is similar to how when a function expects a drawing.color it gives you an intellisense list of all the available colors. What do I need to do to make this happen. I've tried making a custom structure and using that as the type for my parameter but that didn't work. Any ideas? Thanks!!
Last reply by CJLeit, -
-
- Administrators
- Leaders
- 6 replies
- 2.2k views
This article says to use the StringConverter to provide for a drop down list for a property in the property grid. Two questions: 1. Why does it need to be the StringConverter? The TypeConverter class seems to do the job equally well, and 2. Is it possible to make the drop down list multi-select?
Last reply by rbulph, -
-
-
- Leaders
- 4 replies
- 1.7k views
This might be a dumb question, but I don't even have DllImport in my System.Runtime.InteropServices. How do I use DllImport if it is not even listed? I'm trying to set the affinity of my program before/as the application is started. If there is another way other than using the kernel32.dll with DllImport, then I would love to know how to do this. Thanks.
Last reply by grip003, -
-
- 1 reply
- 1.2k views
Hi I have a field in my database which stores a persons date of birth, its field type is datetime. When the user is submitting data, this field is optional. If the user does not submit data, then the default date of 01/01/1753 is inserted. My problem occurs when I want to export all the data in the table to a csv file. I fill my dataset as per normal, now for each row in the dataset I am checking if the date of birth column has the default date 01/01/1753. I do not want my users to see the above default date and I am instead trying to remove the data completely, but the column requires that I insert some sort of datetime. Can anyone recommend a possible solut…
Last reply by mike55, -
- 0 replies
- 1.4k views
I am trying to get the user name and domain of a running process. I can do it using the WMI, but this has various problems (it's slow, it needs to run wmiprvse.exe). There must be a way of getting this information without using the WMI - does anyone know it? (I'm using C# under .NET2.0, but that should be irrelevant, any answer is going to involve a p-invoke, I'm sure)
Last reply by DaveMidgley,
-
Who's Online 0 Members, 0 Anonymous, 53 Guests (See full list)
- There are no registered users currently online