
Malfunction
Avatar/Signature-
Posts
206 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by Malfunction
-
i have two gigs and it's sometimes slow, too. not as slow as yours but i guess performance wasn't their primary goal.
-
Hello, I'm currently forced to work with VS Express (C# + Webdeveloper). Both lack the default project templates which ship with the regular Visual Studio. Is it possible to get these or free third party templates? How am I supposed to use the express edition without having even the webcontrol library template?
-
I created a small app after watching a tutorial. I didn't have to code anything just click my way through Visual Web Developer Express. I have a Datagrid which is connected to the DB through a DataAdapter. This was pretty easy. Now I have to populate the DB with a large amount of dummy data. How do I do this? Writing C# code to create random data is easy but how do I connect to the Database? I guess this is the downside of building the app through a GUI :rolleyes:
-
This is the first time I really have to work with a SQL Express DB. It looks like my favourite datatypes (from mysql) SET and ENUM are not available here. Will I have to use an extra tabe for the types or is there a solution I ddin't come accross yet?
-
I was never tasked to do major db development. The small things I had to do were solved with my own object relational mapping. For larger projects I would stick with the pro tools. In java my coworkers would usually use hibernate. Back in the days I didn't even think about a database abstraction layer but I would also hardcode constant values into my programs :D
-
changing the background color of the selected text in an RTB
Malfunction replied to njuneardave's topic in Windows Forms
doesn't this work? RichTextBox1.SelectionBackColor = Color.Yellow -
never had the time nor the need (so far) to look at http://fitnesse.org/ hmm....fit...fitnesse ....? is it the same: "Great software requires collaboration and communication. Fit is a tool for enhancing collaboration in software development." "Great software requires collaboration and communication. FitNesse is a tool for enhancing collaboration in software development."
-
try mail.hotmail.com for smtp. that's what i found on the net.
-
probalby too late but try mail.hotmail.com
-
you will have to parse the data yourself and set the control's attributes.<b>makes sense but what should the textboxor label display when entering a <hr> ?
-
but you do have some kind of email account set up for your mom? because otherwise you'd need your own smtp server. i'd justsetup some freemailaccount and use the SmtpClient class that comes with .Net. You create a SmtpServer instance using the account data of your freemail account. look at this posting: http://www.xtremedotnettalk.com/showthread.php?t=96302&highlight=smtp
-
i've never been responsible for gui programming but i do know people who are using jfcunit and really like it. i usually test communication and persistance layer using mock objects. my skill is... i dunno. not a guru but surely not a noob either. i like to scratch the surface but tend to not stick with one technology long enough to become an expert.
-
i don't like programming too much. i like the idea of finding new solutions but once i found it it's boring to implement the whole solution. coding in my freetime is a nono. you really have to do some sports to not to end up as a dino.
-
thx for your reply. coming from junit it is pretty easy adopting nunit. i also rad something about #unit but since there is no seperate download i can't use it. i like the idea of #develop but won't switch the ide just because of #unit.
-
hello, i'm using visual studio express which doesn't contain the CAB Project template. is it possible to download the template from ms or is it just available with the regular ide? i searched on msdn but didn't find any information. thx
-
look at ant or nant (for .net) to see how the build process is setup manually. you will have a good idea what thinge need to be done and what the clean task is good for. it's always good to have some background knowledge although visual studio hides most of these things pretty good.
-
hello, i'm using vs express. since i worked with java the past two years i don't really want to miss the power of testdriven development and a goot build tool. i was happy to find nant and nunit. the latter having test runners for visual studio. however the development seemed to have stopped in 2004? does anyone use nant and nunit with visual studio (express) 2005? if so - what version do you use and do you have any tutorials on hand? thx p.s. i want to use nant since i have a distributed build process. edit: i'm looking for a free tool. i found this for unit testing but it's not free: http://www.mailframe.net/Products/testrunner/Default.aspx
-
I copied and modified a little application that retrieves emails via pop3. Now comes the hard part of parsing the data. I found a pretty comprehensive solution here: http://www.codeproject.com/csharp/mime_project.asp to be honest it's probably too much. i can't view the help files and getting through all the relevant code for just using one feature might not be the best solution. i'd prefer to code some of it myself anyways. maybe s.o. knows a different solution that is easier to adopt?
-
thx. this looks very interesting.
-
okay. i'll stick with a fixed number of threads. Caqs the webrequests are really time consuming. when using one thread i can finish 30 operations per minute. when using four threads the program is able to finish more than one hundred operations. the ideal program would determine the right number of threads dynamically by checking cpu and memory usage. but that's probably overkill to my little app. thx anyway....
-
Let's say I have an array containing about 1000 objects. Now I need to perform an operation with each object. Since this operation requires some I/O and webrequests I don't want to go through the array sequentially but parallel using threads. Using four threads I would probalby double the speed of the application and using eight probably quadrupling it. At a certain point adding more threats the application will become slower as the number of threads would use all cpu power. Right now i would just do some trial and error to determine the right number for my machine. Other uer would probably have total different experience. Another solution would be to give the user the oportunity to change the number of threads through a slider. My question: Is there a more professional solution for balancing the number of generated threads?
-
haven't been arround for quite a while. what happened to my postcount? looks like quite a lot of posts have been removed? i know that i asked like a thousand questions a few years ago ;-)
-
hello, im using this snippet to get the sourcecode of a webpage: HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(this.currentURL); WebResponse response = myReq.GetResponse(); StreamReader reader = new StreamReader(response.GetResponseStream()); String source = reader.ReadToEnd(); reader.Close(); response.GetResponseStream().Close(); this.sourcebox.Text = source; i guess that's pretty dirty but it works (almost). trouble is that the encoding is not correct. if the webpage's charset is utf-8 the non asci characters are not shown in the textbox. sorry for posting nubee questions again but i couldn't find a read to use snippet on the net.
-
I have a simple Application embedding the activex webbrowser control. My OS is XP Prof. I'm loading a html page containing a (html)form including radiobuttons. In my .Net application using the activex control the radiobuttons have the old look from previews windows versions. When loading the same page into the IE6 they have the new blueish xp-like look. AFAIK the internet explorer is using that same activex control and just adds toolbar etc. to it. That way both are using Mshtml.dll which is doing the actual parsing and rendering of the page. So how come they have a different look? Edit: Of course I actually want to know how I can make the activex control within my winforms application have that new look for radiobuttons and checkboxes.
-
You're creating a whole new menu without any menuitems. Somewhere in your form you (or the designer) declared a variable probably called mainMenu1 that holds a reference to the menu. this.Menu = null removes the menu from the form but the reference is still kept by the variable mainMenu1. So this.Menu = thismainMenu1; should work.