- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
54 Posted Topics
Hi, I am trying to add a new xElement to an existing xDocument but it needs to be added to a specific place in the structure. Here is a snippet of the current structure, you can see that I have added ID xAttributes to the xElement td in order to … ![]() | |
Hi, having a bit of a head-scratcher time here. I have a FOR loop that searches through a Directory for images, collects the EXIF DateTimeOriginal information form each image and then is supposed to output this collected data inside an HTML TABLE. I know that the FOR loop does exactly … | |
Hi, I am attempting to iterate through all image files in a folder and it's subfolders to check for the EXIF property of DateTimeOriginal. For the life of me I cannot seem to work out how do this, I can work it fine by just entering a single Path in … | |
Hi, I have a snippet of batch code that searches through a folder and outputs the results one file per line in html format. Code below: @ECHO OFF &SETLOCAL (FOR /f "delims=" %%a IN ('dir /b /a-d /s /n "C:\Documents and Settings\All Users\Documents\My Pictures\Pics & Vids"') DO ( FOR /f … | |
Hi all, I am having a play around with batch files but have hit a stumbling block. The file returns the contents of an image folder and outputs the results in html format as such: Thumbnail - Filename (usable link) - Creation Date - Modified Date Please bear in mind … | |
Re: Hi, line 115 of your code above has a typo: string[] geuss = new string[gameWord.Length]; the word 'geuss' Maybe this will help you out. Regards.., | |
Re: These may help you out. http://www.youtube.com/watch?v=649nnBcqaJw http://forums.asp.net/t/1677808.aspx/1?Highlight+matched+text+in+a+string+using+c+ | |
Re: This may help you out. http://stackoverflow.com/questions/7501203/changing-ip-address-in-c-sharp | |
Re: I had a play around and came up with this, it may help you out: if (Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value.ToString()) < 0) { MessageBox.Show("Negative Number"); } | |
Re: Hi Mikey, just spotted your code snippet and thought that it would be really handy for something I am working on myself. Only thing that I did notice is that you have set it to search for a subfolder inside of the 'users' folder, which is perfectly OK if your … | |
Re: Hi Heavy, I don't think this ability is available WinForms, you need to look at WPF. I found a couple of pages you might want to take a look at: http://stackoverflow.com/questions/6274861/upside-down-browser-in-wpf-application & http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/ Regards.., | |
Hi all, for a while now I have been trying to figure out how to output a complete list of RGB color values to a combobox but am really stuck as to how to start. The values need to be sequential starting at (0,0,0) right the way up to (25,255,255) … | |
Hi, I am attempting to change a small piece of code in a forum I run but cannot figure out how to actually return the string of an item contained in an array instead of getting the items position in the array. Sorry if this does not seem to be … | |
Re: [QUOTE=alaa sam;1711966]hi I have made a setup for my project and when i download it on my pc it works except that when it needs to read some file that was in the debug file when wrote the code it gives me a message that it can't find this file … | |
Re: [QUOTE=zachattack05;1689342]Nevermind! I downloaded Open Office and their text editor can save to HTML :) Works like a charm![/QUOTE] I use WinCHM from Softany [URL="http://www.softany.com/winchm/"]LINKY[/URL] | |
Hi, I have made a small application that creates an RSS feed from my Cafe Press store using the Cafe Press API. As I am still in the developement stage I have currently created 2 feeds for testing purposes but I am struggling to understand what is going wrong with … | |
Hi, I am working on a small application that creates an RSS feed from raw XML data. While the application itself works as it should, I am trying to add images to each item in the feed, as for instance a Flickr feed. The problem I am getting is that … | |
Hi, I have an XML file that I am trying to parse and then sort into an re-ordered list. Currently the XML file is ordered via date ascending i.e. oldest item first, newest last. I know how to parse an XML file using 'XMLNodeList - GetElementsByTagName' but what would be … | |
Hi, I have a app that at startup shows a particular label i.e. [B][COLOR="Red"]Ready...[/COLOR][/B] then when the user hit a download button it changes the label to:- [B][COLOR="Red"]Contacting Server...[/COLOR][/B] By using 'Threading' I have also added an update progress which updates the label with percentage and also updates a progressbar. … | |
Hi, just started today with trying to implement a Thread in my application and have come across a problem that I can't seem to figure out. The application asks the user to enter their userid into a TextBox on the main form which is used to download a specific XML … | |
Hi, I am working on a small application that uses a WebClient to download an XML file via an API call. Just downloading the file is fine, that all works but I really wanted some way to show the download progress to the end user. Searching on the net I … | |
Hi, a bit of a long title to this thread, I know, just trying to make it obvious. lol Anyhow, I am building a Twitter widget for my own website and have got really stuck on one aspect of it, namely the 'source' i.e. which application the 'user' used to … | |
Hi, may seem like a silly question but if someone helps me out in a thread, how do I award rep points, I cannot see a link or button to press? Regards.., MT | |
Hi, I am trying to build a Twiiter website widget using the Twitter API, that will display a list of recent tweets. I am stuck on one piece which is the display of the URLs in the tweet. I am using preg_replace to look through the text and find a … | |
Hi, I am trying to figure out how to place an image that is floated to the left, text that should be centered & and an image that is floated to the right all within the same div that is 400px X 25px. Here is my code at the moment:- … | |
I recently had a PC crash and had to do a fresh install of Win XP. Luckily I had backups of a vast majority of my data including my VS projects. I have just reinstalled VS2010 Ultimate and then decided to open my latest project only to be told that … | |
Hi, I have a small project that I am working on and am trying to implement an AboutForm that is odd shaped, like the splash screen for VS2010 or Photoshop CS5 etc... I have made an image (png) in Photoshop that has a drop shadow and a transparent background but … | |
Hi, my app needs to have an internet connection to run correctly, so I have been trying to implement a piece of code to check for the availability of a net connection. [CODE] private void Form1_Load(object sender, EventArgs e) { HttpWebRequest req; HttpWebResponse resp; try { req = (HttpWebRequest)WebRequest.Create("http://www.google.com"); resp … | |
Hi, my app does not contain a web component but it does download images from the web into pictureboxes. I am trying to figure out how to code a progressbar on my app that would start when the form is loaded and increase gradually until all the pictureboxes have been … | |
Hi, I have a couple of questions regarding DataGridView. I have a DGV that is created at runtime, it has 3 columns. I would like to change the mouse cursor to HAND on only 1 of these columns, is this possible, if so how? Also how can I stop the … | |
Hi, I have many controls that are created at runtime and I have managed to figure out how to skin these using SkinFramework apart from a DataGridView control that I have. One column of my 'DGV' is a button column and it is this that I am trying to skin. … | |
Hi, I am using SkinFramework from Codejock to style the forms in my application and have hit a small stumbling block. In order for the buttons to be styled they need to have the FlatStyle set to System, which does work as it should but the downside to this for … | |
Hi, I have been looking at various ways to skin my application nut am not having much success. I have tried [URL="http://www.skincrafter.com/"]Skin Crafter[/URL], although what ever I try I cannot get this to work. I am now trying [URL="http://www.codeproject.com/KB/library/USkin.aspx"]USkin[/URL] and am having some success but still need a little help … | |
Hi, I have a little issue that I need some light shed on please. I have 2 forms; StartUp and MainForm. When the application starts with the StartUp form the forms load section check to see if a file exists, if it does, it closes and opens the MainForm using … | |
Hi, firstly, sorry about the title of this thread, I couldn't really think of one to explain what I am trying to get at. In my app I have an XML file that is loaded on formload and looped through to extract the required data into a listbox. That bit … | |
Hi, my app creates some components at runtime such as a PictureBox. Because they are only created at runtime I have no way of setting the ErrorImage through the properties section. I thought I could just add the images I required to the programs resx file but found out that … | |
Hi, in part of my app I have to load an XML file and read an Attribute from it to output in a MessageBox. The MessageBox is called from a click event on a DataGridView. The way I have the code below I get an error that my INT gSize … | |
Hi, I have a dataGridView that has 2 columns called (style & type) and I want to have a click event that only fires on the (type) column. I can code it so it works on both but for my app that is a little untidy. I have searched a … | |
Hi, I am trying to add multiple PictureBoxes dynamically at runtime using a loop but have come a little stuck. Here is the code I am working on:- [CODE] XmlDocument xDoc = new XmlDocument(); xDoc.Load(System.IO.Path.Combine(Application.StartupPath, "getPublicPhotos.xml")); XmlNodeList photo = xDoc.GetElementsByTagName("photo"); for (int i = 0; i < photo.Count; ++ i) … | |
Hi, I have some data stored on an XML file and I am trying to read a specific part of it. Here is a line from the XML:- [CODE] <photo id="4539802593" owner="***" secret="***" server="4032" farm="5" title="Stone Bridge" ispublic="1" isfriend="0" isfamily="0" /> [/CODE] Below is the bare bones of code I … | |
Hi, this is a major stepup in programming for me so please bear with me. Using the Flickr API to generate photostream thumbnail images I need to parse the XML output to my application. I don't want to use a browser component if I don't need to but rather display … | |
Hi, I have a panel on a form and am displaying a picturebox on that panel. I have set the Panel Autoscroll to true. Even when I manually make the panel smaller than the picturebox, no scrollbars are shown, why is this? Here is the code I am using to … | |
Hi, I have a dynamic picturebox created at run time that loads an image and I want this picturebox to be clickable and open a web page. Here is the code that creates the picturebox in the formload section:- [CODE]void MainFormLoad(object sender, EventArgs e) { PictureBox pb = new PictureBox(); … | |
Hi, I have got some code that at startup checks for the existence of a file, if it finds the particular file then it opens another form. If it doesn't find the particular file then it shows a messagebox asking whether or not to enter some data, answer YES or … | |
Hi, I have found some code that looks like something I would like to use but am really unsure of where it goes within the form. The code is [URL="http://www.midnightprogrammer.net/post/2009/10/22/ReadWrite-settings-to-INI-File-using-C.aspx"]here[/URL]. It's the first bit of code the [COLOR="Red"]class INIFile[/COLOR] section that I don't know the placement for on my form. … | |
Hi, I am trying to cobble together a couple of snippets that I have found on the net to read and write to an ini file. The reading and writing part works fine but what I am trying to do now is to check if the ini file actually exists … | |
Hi, I have 2 forms, Main & About. When the About form is showing it is TopMost, now I have added code so that when a LinkLabel is clicked on the About form, the About form closes:- [CODE] Form.ActiveForm.Close(); [/CODE] This works fine except that the Main form is now … | |
Hi, I already have an application built and have thought about adding a splashscreen to it. My initial form is MainForm.cs my splashscreen is Splash.cs I have searched the net and seen various different approaches to displaying the splashscreen and have only had limited success with one that I found. … | |
Hi, I have created an html help file for my application and have a menu button to open it but I am having problems as it keeps coming up with an error saying it can't find the file. I don't want to hard code the full path to the help … | |
Hi, I am trying to add extra function to a small app that I have made and part of incorporating this is to use radio buttons. Basically a user has to choose between 1 of 2 radio buttons and then press a normal button. I am having trouble trying to … |
The End.