58 Posted Topics
Re: Hi Jazerix Have you got it? | |
Re: You can pass through Constructor, Or Take a look at invoking delegate function. | |
Re: u can also set the username in session.. session_start(); $_SESSION['username']=$strUserName; And get from session like, session_start(); $strUserName= $_SESSION['username']; | |
Re: Can you be little bit clear in what you are asking for? | |
I have a program to download files from server (using ftp_connect) using php and save the files in my local system.While saving the files in local system file's modified time changes according to my system time But what i need is the files saved in local should have the same … | |
Hi, I need a Php library or Code to convert images to a video. If i give few images as input, the library should convert it to a Video and it's output should be a video file!! Where can i find this library?? Need some help? ![]() | |
Re: If your question is not solved,then Use this!! [CODE]$replace=preg_replace('/(you)/i', '<span style="background:yellow;">\\1</span>',$teks);[/CODE] ![]() | |
Re: Using SESSION will make it easier, Once the user logged in set SESSION for that user, For ex: SESSION['username']. And use this condition to check whether they have logged in [CODE] if(!isset($_SESSION['username'])) { ///enter code to redirect to login page/// exit(); } [/CODE] If SESSION['username'] is not set it will … | |
Re: [CODE] <?php echo('<table><tr>'); $i = 0; foreach( $products as $product ) { $i++; echo '<td>'.$product .'</td>'; if(i % 3==0) { echo '</tr><tr>'; } } echo'</tr></table>'; ?> [/CODE] | |
Re: It's good to have an ID or primary key for Every table You add a field ID as primarykey and autonumber, and try with the same query, i tried and it workd fine for me, it randomly picked ip from table. [CODE]$query = $pdo->prepare("SELECT ip FROM vincer WHERE state = … | |
Re: Header For Regular Expression in C# is [CODE]using System.Text.RegularExpressions;[/CODE] | |
Re: Use Process.Start() to open a file. [CODE] static void Main() { // A. // Open specified Word file. OpenMicrosoftWord(@"C:\Users\Sam\Documents\Gears.docx"); } /// <summary> /// Open specified word document. /// </summary> static void OpenMicrosoftWord(string f) { ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "WINWORD.EXE"; startInfo.Arguments = f; Process.Start(startInfo); } [/CODE] you can … | |
Re: i prefer regular expresssions(Regex) to split the equation. It's the easier way,and easy to learn too. | |
Re: For Error6: [CODE]DateApp date1 = new DateApp (10, 31, 2011, "10/31/11");[/CODE] You have used this to create object for class DateApp,and passed four arguments, but you don't have a constructor for the class DateApp. For Error 7 and 8: [CODE] Console.Write (date1);[/CODE] You can't print an object, rather you can … | |
![]() | Re: [CODE]public String proxyusername= "sam"; public String proxyuname { get { return proxyusername; } set { proxyusername= value; } }[/CODE] //GET when the value of proxyuname is called like [CODE]string name = proxyuname;[/CODE] then the properties get the value of proxyusername and returns. //SET when the value of proxyuname is assigned … |
Re: Create an event when datagridview sorts the data, [CODE]private void dataGridView1_Sorted(object sender, EventArgs e) { //your logic to change the column header color.. }[/CODE] | |
Re: When you create installer for your application using setup project, Click "Add prerequisites" and check Dotnet framework 4... And below check the radio button to get the dotnet framework from the same folder.. Hope you understand, Orelse reply ... | |
Re: What is your need actually, be clearer!! Do you need to set focus to datetimepicker when form loads, then?? use this code in constructor or form load event. [CODE] this.ActiveControl = datetimepicker1;[/CODE] | |
Re: Remove the bracket from 6th line and place it before public class TestPizza starts. | |
This is the code snippet used to get the files/folder present in a particular folder/sub directories. | |
Re: [CODE]Console.Write(Console.ReadLine());[/CODE] Try This!! | |
Re: Do mean that when you execute your query the datagridview should refresh the data!! If So, Here it is. If you use dataadapter to fill gridview use, [CODE]dataGridView1.DataSource = null;[/CODE] If you manually fill the gridview Use, [CODE] dataGridView1.Columns.Clear();[/CODE] | |
Re: "i want to prompt for use input to get key for validating purpose" what you mean by this do you need to validate the text box? | |
Re: First Add the namespace Using.System.IO; Function to get all the folders present in that particular location,Use [CODE] string[] folders = Directory.GetDirectories(@"C:\myfolder\Projects");[/CODE] Function to get all the files present in that particular location,Use [CODE] string[] files = Directory.GetFiles(@"C:\myfolder\Projects");[/CODE] Function to get all the files present in that particular location with particular … | |
Re: [QUOTE=xanawa;1582904]is there any property or no?[/QUOTE] go to form event and write your logic to check validation in its closing event. For Example: If your form is Form1 then, [CODE]private void Form1_FormClosing(object sender, FormClosingEventArgs e) { }[/CODE] | |
Re: Hi rootchord Have you Solved it?? The above Exception states that the window handle should be created for that form.. I have come across the same Exception and i cleared it by creating a window handle!! | |
Re: string valeur = ligne.Split(ChrW(59))(0); Can you explain this method? What it Does? | |
Re: use this method String[] rows = File.ReadAllLines("filelocation"); you will get rows in array | |
Re: where you want to display? Can You be little bit Clearer in your question?? | |
Re: Usually Access Denied comes if a particular file has been created with administrative rights or if the file gets corrupted... Couldn't guess why this Comes?? Make sure that your question is still more clear!! | |
Re: Being a Posting Whiz, Have you never come across string.split and string.join inbuilt methods??.. | |
Re: Your flow is wrong. Just slowly think, You first add the value of listbox1[0] to listbox2. and you remove the 0th value, After you remove listbox1[0]th value, the next value moves up after incrementing ith value you add the listbox1[1] to listbox2 That's why a value is left out | |
Re: My opinion is Using Regex will make it simply.. | |
Re: As abelLazm said, Anchoring properties will help you!! | |
Re: Hi Leo, As stefan said the word password is a keyword so they should be enclosed in [], Even i got an exception when my column name was Region, Mark it as solved if it is.. | |
HI, I am new to webBrowser tool in C#. If i use this code to navigate, and get the page source. Webbrowser1.Navigate("http://www.google.com"); HtmlElement he = Webbrowser1.Document.Body; string pagesource = he.InnerHtml; But i am not getting the webbrowser fully loaded and i am not getting the full pagecontent. Help me? | |
Re: [QUOTE=pseudorandom21;1567348]I plan to use the WebRequest class to POST some data to a form, specifically a message and a file. I don't know the first thing about websites so I was hoping someone could help me out. I know how the message data is supposed to be formatted and how … | |
Re: [QUOTE=rminator;1566939]Hello, I have a problem not far from the one quoted above, namely retrieving data from a text file containing the log file, and then come out the graphic representation. And so far my code is not working as it should, and I just can not seem to get them … | |
Re: Can You share your answer please, Did you Used Contains Method?? | |
Re: [QUOTE=abelLazm;1564485]Your question is very confusing better explain it.... And where you look for the .exe???? It resides in [B]\\bin\debug[/B] folder of the project and every time you debug a projects its .exe updates.... you can use [B]F5[/B] or the play button on the menu bar to debug your project[/QUOTE] valter … | |
Re: can you be little bit clear in your question | |
Re: I have installed my visual studio in E:\\ but i didn't get any error still. | |
![]() | Re: "how can I realise it with base on access" What do you mean by this? |
I have a database which contains Hebrew language(foreign characters) in it. When I populate it in grid view. It gets populated in reverse order(left to right) For example: "כן" is getting populated as "ןכ" | |
I need to disconnect internet connection of a single system which I'm using now,connected in LAN. And I need to Connect again to the internet. How could i make this. I used [CODE]ReleaseDHCPLease [/CODE] and [CODE]RenewDHCPLease [/CODE] But it didn't work Help me | |
Re: Do you get file name from the textbox of the Main form. If so you no need to pass the filename. get the filename from the mainform's textbox!! | |
Re: While publishing you should add the necessary frameworks and assemblies, so add the assembly for excel in Applications tab while publishing.. Add microsoft.office.tools.excel DLL file | |
Re: Take look at [URL="http://support.microsoft.com/kb/307010"]this link[/URL]. It will surely help you!! |
The End.