i want to show the folder contents in my windows form from where user can copy paste the files user needed, what type of container i have to use for this purpose?
How do you make a function read form a txt file and store random lines in a variable? It will be run over and over in a foreach loop. The language is PHP.
Im a new coder so I don't know things like this off the top of my head.
Hi there,
I've been using the jQuery form validator, but I can't seem to figure out how to trigger it by class. Take this example:
$("#myform").validate({
rules: {
field: {
required: true,
date: true
}
}
});
Where field it is expecting the name of the particular input. But, what if I have the following:
<input class="date".... />
How can I tell the validator to validate all inputs with a "date" class as a date?
I am trying to request.user for a form's clean method, but how can I access the request object? Can I modify the clean method to allow variables input?
Thanks.
I would like a windows form app that will contain a UI, but I want it to run from the command line with some parameters possibly also a /hide or /visible=false option.
How is it possible to read in the command line parameters? And adjust accordingly?
I have made a simple Rails application that allows people to comment on posts. How do I prevent that user from submitting that form over and over again? On reddit.com they only allow newer users to make new posts every ten minutes. How can I do this with my simple blog/commenting system? Any help would be greatly appreciated. Thanks for reading my question.
hi
Suppose that you have a win form with 5 combo boxes on it.
Some one told me that you must have 5 data table in order to fill them one by one.
How do you fill them with data stored in Database?
I have a form and I've passed its handle to the OpenGL class to draw. I want to get keyboard commands from the user but it seems the procedures for getting the keys doesn't run (I've tested it). Although, I am using OnMouseDown with no problem at all.
Is there anything I am missing here? Anyone has a solution?
As the title says. I was reading Yet Another Language Geek: Continuation-Passing Style and I was sort of wondering if MapReduce can be categorized as one form of Continuation-Passing Style aka CPS.
I am also wondering how can CPS utilise more than one computer to perform complex computation. Maybe CPS makes it easier to work with Actor model.
I would like a windows form app that will contain a UI, but I want it to run from the command line with some parameters possibly also a /hide or /visible=false option.
How is it possible to read in the command line parameters? And adjust accordingly?
I have a sketch pad made in Flash AS3 like this one here: http://henryjones.us/articles/using-the-as3-jpeg-encoder
I want to send the jpg to the server and some data from a html form field with php. Is there a way to force the Flash movie to deliver the image file when one presses the submit button?
Hi guys:
I am a noivce at JQuery.
I'm curious about if there is any plug-in or libraries to help developers validate whether any input value over a set of form elements is not entered (empty string).
I can just think of using a function to achieve this feature. Any better idea?
Thanks.
I have a user control with the following code in it.
[System.ComponentModel.Category("Appearance")]
public override string Text { ... }
private int myVar;
[System.ComponentModel.Category("Appearance")]
public int MyProperty { ... }
MyProperty shows up in the property grid when the control is inserted in a form, but Text does not. How can I get it visible?
Hi
I want submit Data/update/delete through InfoPath Form to an MS Access Database on Sharepoint 2007 (MOSS 2007), If custome code require please give code.
Thanks
I would like to make my windows form app self updating when it starts. Where can I find good information for that?
I am using Visual Studio 2008 VB.NET.
I want to do an HTTP POST that looks like an HMTL form posted from a browser. Specifically, post some text fields and a file field.
Posting text fields is straightforward, there's an example right there in the net/http rdocs, but I can't figure out how to post a file along with it.
Net::HTTP doesn't look like the best idea. curb is looking good.
plz help me
i am creating multiple chechbox with same name and id how i get value of array when i submited form ? using cake php
create('Report', array('action'='add')));
for($i=0;$i
" id="Report" /
}
}
?>
I know this is somewhat of a newb question but I am running into a deadline and 3 days of Drupal experience will just not cut it...
$form['gender'] = array('#type' = 'select', '#title' = t('Gender: *'), '#options' = array(t('Male'), t('Female')), '#required' = TRUE, '#weight' = 2, );
How do I assign values to select values ? For example Male - 'm' and Female- 'f'. Also how do I give the select box a default caption "please select gender..."
Thanks guys
I'm new to C#, and I want to use a track-bar to change a form's opacity.
This is my code:
decimal trans = trackBar1.Value / 5000
this.Opacity = trans
When I try to build it, I get this error:
Cannot implicitly convert type 'decimal' to 'double'
I tried making trans a double, but then the control doesn't work. This code worked fine for me in VB.NET.
What do I need to do differently?
Our team working on flash/Asp.net shopping cart projects
In our projects we need to get previous flash file data.
After two or three form submission the first page flash file data are missing.
How can we maintain the state of flash file data?
If any idea please help our team to do the task
I have a somewhat complicated looking Access Form with a continuous display (meaning multiple records are shown at once). I'd like to change the background color of the selected record only so the end-user can easily tell which record they are on.
I'm thinking of perhaps a conditional format or maybe something like this:
Private Sub Detail_HasFocus()
Detail.BackColor(me.color)=vbBlue
End Sub
and something similar for when that row loses focus. This code snippet obviously won't work, but it's the kind of code I'd like to achieve.
I've implemented taxonomy menu in Drupal, and trying to set it up so that it is pretty easy for the user to add new items to the vocabulary from the create content form instead of having to administer the vocabulary itself.
So far, all I can manage is the default behaviour of displaying the existing items.
hi,
I will let popup a form in C#.net 2.0 and it should be so long in front of the desktop until the user clicks the close button.
How to do?
I tried the code from here:
http://dotnet-snippets.de/dns/fenster-wirklich-in-den-vordergrund-des-desktops-bringen-SID1005.aspx
But it didn't work.
My system is Win7.
Hi guys,
I think there should a control like databound list control of vb6 in vb.net windows form application too which can show up data from database.
I have confused and staring my database applications in vb.net....
so can you suggest which control can be used?
I understand this is a subjective question, so I apologize if it needs to be closed, but I feel like it comes up often enough for me to wonder if there is a general preference for one form over the other.
Obviously, the best answer is "refactor the code so you don't need to test for falsehood" but sometimes there's no easy way to do so and the "else" branch is simply to continue processing. So when you must have an "if not false" construct, which is the preferred standard:
The not operator
if(!value)
Or the test for false
if(value == false)