Hello everyone, was looking to see what was availble in listview1.columns.add.... and found this ListView1.Columns.Add("ID", FontDialog, HorizontalAlignment.Center) how would i use this to change the font in listview columns.? the rest of the code... ListView1.Columns.Add("Weekday", 100, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Date", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Fuel Time", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Location", 60, HorizontalAlignment.Left) ListView1.Columns.Add("Pump", 50, HorizontalAlignment.Center) ListView1.Columns.Add("Total Liters", 80, HorizontalAlignment.Left) ListView1.Columns.Add("Total Dollars", 80, HorizontalAlignment.Left) Thanks for reading. :-)

Member Avatar
Member Avatar
+0 forum 1

Hello. I'm working on my own CMS. I want to use Bootbox.js which is a small JavaScript library which allows us to create programmatic dialog boxes using Bootstrap modals, without having to worry about creating, managing or removing any of the required DOM elements or JS event handlers. [And this is the website](http://bootboxjs.com/) I have downloaded installed it with via npm, by this command: npm install bootbox But i don't know what to do after that... why when i copy and paste example codes from the website, it doesn't work? I searched the net but couldn't find the answer. Has …

Member Avatar
Member Avatar
+0 forum 14

Hi guys, so i have a table populated by event details from database and i use a checkbox to select which event to be deleted: echo "<tr> <td><input type='checkbox' name='check[]' class='check' value='$id'>$name</a></td><td>$formatDate</td> </tr>"; my delete function: <?php if(isset($_SESSION['sess_user_id'])) { if(isset($_POST['del_event']) && isset($_POST['check'])) { require "connection.php"; $userid = $_SESSION['sess_user_id']; foreach($_POST['check'] as $del_id) { $del_id = (int)$del_id; $sqlqueer = "DELETE FROM event WHERE event_id IN ($del_id) AND euser_id IN ($userid)"; $deletion = $dbh->query($sqlqueer); if($deletion) { echo "<script type='text/javascript'>window.location.href='event.php';</script>"; } } } } ?> and it works fine. I wanna know how to call that delete function after a confirm dialog, something like …

Member Avatar
Member Avatar
+0 forum 15

vb color commondialog box return color if i am selecting cancel in color dialog box.how we can handle this. commondlg.showcolor lblcolor.forecolor=commondlg.color

Member Avatar
Member Avatar
+0 forum 1

i have intalled jdk 7 update 51 and netbeans 7.0 .for the first time it works fine but later IDE netbeans does not start at all and dialogue box comes that JVM creation failed...kindly help

Member Avatar
Member Avatar
+0 forum 2

I'm working on Asp MVC 4 framework. in my "abc" page's layout file i added fb login dialog box and fb like button. `<script>(function (d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if d.getElementById(id))return;js = d.createElement(s);js.id = id;js.src = //connect.facebook.net/en_US/all.js#xfbml=1&appId=appid";fjs.parentNode.insertBefore(js, js); } (document, 'script', 'facebook-jssdk'));</script>` and now i added a partial view in "abc" page which is using the fb app request dialog. `<script src="//connect.facebook.net/en_US/all.js"></script> <script type="text/javascript"> FB.init({ appId: 'xxxxx', cookie: true, status: true, xfbml: true, frictionlessRequests: true }); function all() { FB.getLoginStatus(function (response) { if (response.status === 'connected') { var friend = new Array(); FB.api('/me/friends', function (response) { if (response.error) …

Member Avatar
+0 forum 0

A modal dialog is a window that you must respond to. The MessageBox for example is such a window. It is a handy tool for displaying a warning or other kind of message to the user. But, you can configure it only in a limited way. Xcelled194 did a good job on setting up a VB style inputbox, [url]http://www.daniweb.com/software-development/csharp/code/361925[/url] So I propose here a way to simulate a MessageBox an InputForm an AboutBox or whatever, where you are in total control on how it looks and behaves. Many users over here like to change the behaviour of a MessageBox, well, …

Member Avatar
Member Avatar
+3 forum 1

Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int response = JOptionPane.showConfirmDialog(null, infoMessage, "Confirmation : " + location, JOptionPane.INFORMATION_MESSAGE); return response; } Thanks in advance!

Member Avatar
Member Avatar
+0 forum 4

i want to type the path manually in folder browser dialog, like file browser dialog.

Member Avatar
Member Avatar
+0 forum 2

$("#contact-form").validate({ rules: { contact_name: { required : true, email: {required: true, email: true } }, contact_company: "required", }, messages:{ "contact_name":"", "contact_company":""} }); How to add a messagebox to jsvalidation that says "you sent message"

Member Avatar
Member Avatar
+0 forum 1

Hello Community, I was wondering if there is a way to to use the webbrowser to download a file silently without the download file dialog coming up. What i want is to use `Browser.Navigate("Download Path")` and i don't want the file dialog to show up i want it to just download the file to a path of my choice (eg. `My.Settings.Path`). Please Help...

Member Avatar
Member Avatar
+0 forum 7

Hi I am currently making a dialog based application in visual c++ 2010 where a chart is going to plot data coming in from an external source. My issue is that I am unsure how to import that data in real time to my application. Does anyone have ideas? Thanks

Member Avatar
Member Avatar
+0 forum 8

Please, I need help. I have an aplication in Visual Basic 2010 and database created in Access 2003. It's very simple database, it has two tables named 'doctors' and 'patients'. I want to itegrate databse into VB. I used Wizzard to integrate. Now I have Binding Navigator (with buttons Next, Previous, Add, Delete, Save), DatagridView and Details (Label and Textbox) on the same form. How can I make a procedure when I click a button "Add new patient", it opens a new window form or dialog form, and I get just a new window with detail view to enter data. …

Member Avatar
Member Avatar
+0 forum 4

So basically I am new to API programming and teaching myself. I've done a bit of console C++ that I got off of.... an internet tutorial. The story is the same here too. I am somewhat aware of what the lines of code do, though I am not yet a dictionary so please if anyone wishes to help, keep that in mind. Onward to the problem --> I am trying to make a dialog box show up when I click on one of my menu options. Curently the menu option I chose is "Blurp"-->"Go" When I compile and run the …

Member Avatar
Member Avatar
+0 forum 7

How to show save dialog box in dot net 2003 using vb dot net

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm a beginner in android and i want a simple activity/class that acts as a folder chooser, i found some on the web but they are really hard to implement with my current knowledge and want a simple startActivityForResult() kind of a class. Best regards

Member Avatar
+0 forum 0

Can anyone help me figure out why my dialog won't go away when clicking the x? When I click it with modal = true, the modal portion disappears, but the dialog remains. With it off, the dialog still remains. I have tried multiple things, but it won't go away. I have tried cancel buttons... nothing. I need a way to click something to get the dialog to appear, and a way for it to disappear if the user wants it to. <link type="text/css" href="css/cupertino/jquery-ui-1.8.18.custom.css" rel="Stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script> <script> $.fx.speeds._default = 1000; $(function() { $( "#dialog:ui-dialog" …

Member Avatar
Member Avatar
+0 forum 4

Basically my app obtains data from a mysql server and displays it in a list view. What I want is for data from different columns (but the same row) to be as different items in a Dialog Box. I followed a tutorial on how to connect to a mysql server in android so i'm not entirely sure how it seperates each data value and defines it individually. I've highlighted the list view part of the code, any ideas how to achieve the same sort of thing but in a dialog box? I hope i've explained myself clearly enough. Any ideas …

Member Avatar
+0 forum 0

hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks in advance and appreciate reply..

Member Avatar
Member Avatar
+0 forum 2

Hi, I'm a newbie in php and web development, and I'm just able to develop basic applications using php and html. For an application I'm developing, I designed a landing page, and people told me it looks so 90s design, and you need to improve UI and give a more modern look. Right now, I want to know how to design modern looking dialog that can be used to build forms (I intend to use that for registration, login, and for forms that can be of varying length from 2-3 to 8-12 rows of fields) -just to give you an …

Member Avatar
Member Avatar
+0 forum 1

I am writing a program that has a few requirements. Here is what it looks like the picture that I attached. [B][COLOR="red"]The first button is used to add (append) a record to a text file containing MP3 records.[/COLOR][/B] When an MP3 is added to the file, all text fields should be cleared and the new record entered should be displayed by itself in the text area: If a field is missing inform the user. Add AT LEAST six MP3 records. The data must be written to the text file using a “:” as a separator: artist name:song name:album name:tract length(in …

Member Avatar
Member Avatar
+0 forum 6

Hi all, The project I am currently working on is an Address Book which works off a csv (specification takes the mick as a database would be so much easier), the method to write the lines of information into the CSV is in the class DataLayer and takes a String: filepath and an AddressBook: addressbook. My question is how do i get the filepath selected from a savedialog and pass it through to the method in the class as I cannot see how using intellisense and MSDN. Thanks, Mike

Member Avatar
Member Avatar
+0 forum 2

I have code (below) that opens a dialog box to either open or save a file. What I need to do though, is have the file location in the textbox next to it. Can anyone tell me the code to do that? [ICODE] protected void Browse_Click(object sender, EventArgs e) { string FileName = "ExporterOutput.txt"; string FilePath = "C:/Users/oZ012D/My Documents/ExporterOutput.txt"; System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; response.ClearContent(); response.Clear(); response.ContentType = "text/plain"; response.AddHeader("Content-Disposition", "attachment; filename = " + FileName + ";"); response.TransmitFile(FilePath); response.Write("This is a test line."); response.Flush(); response.End(); } [/ICODE]

Member Avatar
Member Avatar
+0 forum 3

I have a function for a dialog which returns the dialog result back. However, the value of the dialogresult changes from ok to cancel after the value is returned. How can i fix this? this is the part where the dialog is called and the value from the dialog is returned. [CODE] Private Sub btnLogin_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles btnLogin.ItemClick Dim loginDialog As New frmLogin Dim result As DialogResult = Nothing result = loginDialog.ShowDialog() If result = Windows.Forms.DialogResult.OK Then If My.Settings.User = "administrator" Then My.Settings.AccessCode = "admin" My.Settings.AccessCode = ShippingClass.funcGetAcessCode(My.Settings.User) Log_On() End If End Sub[/CODE] This is the …

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm writing a small application that gets some data from the user and launches a second application related to what process the user is working on. So, sometimes the user needs to choose from different versions of the same aplication. I decided that after the Ok button is pressed in main window, the application searches in some folders and open a second window with the different versions avaliable to that application. My problem is that when I launch the second window with the options my main application continues to run with default options. I press the buttons in the …

Member Avatar
Member Avatar
+0 forum 3

A little poll, which do you guys prefer to use for an application that uses 2 or more windows at the same time? MDI or modeless dialogs? And the reason why.

Member Avatar
+0 forum 0

Hey guys, I'm new to this forum so nice to meet you all :D I'm really bugged by a weird bug that prevents my dialog from showing up, however the buttons show up twice, one overlapping the other. I saw other threads that discusses about this but I'm afraid I can't find a way out through them. I have already found the problem ( i hope) and (sort of) fixed itby copying and pasting the DialogProcedure code from winprog which i have used as my reference for the project. here's the code from winprog: [CODE]BOOL CALLBACK AboutDlgProc(HWND hwnd, UINT Message, …

Member Avatar
Member Avatar
+0 forum 6

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar
Member Avatar
+0 forum 4

I want to make a Application using MFC Visual Studio 2008 to make the dialog transparent besides the controls. I have uploaded the pic of a sample app (just made it for fun) [My Prog.jpg] (1st pic) Second pic is the kind of App I want (I used Photoshop to do this) [My ProgT.jpg] (2nd pic) Is this possible. If yes, how?? Thanks in Advance.

Member Avatar
+0 forum 0

In my project I need to open file dialog so that user can select local image file on his machine. I need to access that local file and rename it and FTP that file on server. What is the best way to that? I have already used FileUpload control but some thread exception was occurring I don't rember it now sorry. Any suggestions will be welcomed.

Member Avatar
Member Avatar
-1 forum 2

The End.