- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 176
- Posts with Upvotes
- 137
- Upvoting Members
- 77
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
419 Posted Topics
Re: Hey, hey, hey — don't be mean. We don't have to be mean. 'Cause, remember: no matter where you go... there you are. --- Buckaroo Banzai | |
Re: >I'm not sure if this product is even sold in the mid west or west coast. It's a Cargill product. http://www.shadybrookfarms.com/Contact.aspx Who knows where it originates from. Looks like the pink stuff that they were selling as hamburger meat. | |
Re: Have you tried the example in the documentation? [Click Here](http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor(v=VS.90).aspx) | |
Re: I may be mistaken here, but under VB2010 Express you can use the ReportViewer control, however you will not have design time support for either the control nor the Report. The only way I have been able to make this work is to add the control to the Form via … | |
Re: It's really pretty simple. Steps: 1. Goto your Report in design view and hit the F4 key to bring up the property window for the report. 2. You need to define a ReportParameter. Click on the elipsis next to the ReportParameters field in the property windows. This will bring up … | |
Re: The short answer to most of your questions is: Yes it can be done. I prefer to use a DataTable for the data source. Here is an example of how to set the needed properties to produce my interpretation of what you are looking to accomplish. If you have any … | |
I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from … | |
I am posting this in response to those who ask about replacing the webbrowser (WB) control’s default browser. You cannot ask the WB control to use a different browser, it is hardwired to use the current version of Microsoft’s Internet Explorer that is installed on the target computer. It may … | |
Re: Granted. Now what are you going to do about that burning sensation south of the beltway. I wish for a cute friendly animal that will grant my every wish. | |
Re: Hi ddanbe, I'm glad you found a new toy to play with. :) You may find these examples useful: Samples Environment for Microsoft Chart Controls[Click Here](http://archive.msdn.microsoft.com/mschart) The chart control was also made available for .Net 3.5 as a separate library. Microsoft Chart Controls for Microsoft .NET Framework 3.5[Click Here](http://www.microsoft.com/en-us/download/details.aspx?id=14422) | |
Re: Let's see. You posted that two days ago, so the answer is because you were not born yesterday. :) If one is too big for their britches, does that mean they need to lose some weight? | |
Re: Beef. It makes tasty veggy soup. :) Who is Your favorite author? | |
Re: Here is an example that you can follow to read in the DBASE file. It is slightly different than the method you are using. Dim ofd As New OpenFileDialog With ofd .Filter = "DBASE File (*.dbf)|*.dbf" .Multiselect = False .CheckFileExists = True End With If ofd.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim … | |
Re: Have you tried to use a timer to execute your turn-off code? | |
Re: > It's like if you take all your money out of the bank and start spending it. You might feel rich but in fact you are rapidly getting poorer. Is that along the lines of: it gives you that warming you get after wetting youself that ultimately turns into a … | |
Re: Try changing: `MainForm.WebBrowser1.DataBindings.Add("Url", ds.Tables("item"), "link")` To: `MainForm.WebBrowser1.DataBindings.Add("Url", ds.Tables("item"), "link", True)` This enables formatting of the value which invokes the property's TypeConverter. | |
Re: > What i had in mind was saving it as ini file, encrypting the file to another extension, and encrypt it to binary, but to do that i would use the special folder in the AppData, is there a better way for me to save the arrays and encrypt it … | |
Re: I wish you the best of luck with this. If MS does finally see the light and provide an update, I hope that they also will have the sense to draw the line on the .Net side of things and admit that it is not a natural progression from VB6 … | |
Re: Hi, Since you are a student, I wanted to show you two other methods for reading a text file as you have described. The second one is just for fun; I would not recommend it. For your needs the ReadAllLines method shown by Jim is fine, but if the file … | |
Re: So that is what they teach! Augh!!!!!!!!!!!!!! If you have a block of code that needs to be called by multiple event handlers, it is best to define that code block as a separate method (subroutine) and call it as needed. Something like this pattern. Private Sub RadioButton1_CheckedChanged(ByVal sender As … | |
Re: Hi ddanbe, Fun little program. It reminded me how much fun I had drawing geometric shapes back in the dinosaur days when PC's were a curiousity to most. It inspired me to see how much I have forgotten. :) It took a while but is finally gelled in my mind … | |
Re: Here is a novel concept to try. [9.1.3. Date and Time Literals](http://dev.mysql.com/doc/refman/5.0/en/date-and-time-literals.html) | |
Re: The newer office file formats such as "docx" and "xlsx" are in reality zip packages containing the files that define the contents in "XML" format. These can be created using: [Open XML SDK 2.0 for Microsoft Office](http://www.microsoft.com/en-us/download/details.aspx?id=5124). You can view the "XML" content of an office file by renaming it … | |
Re: E! (try and find a company that starts with !) :) ha ha | |
Re: In addition to rubberman's comment: you are summing in "coursesCount:, but comparing "courses". Is this the logic you intended? | |
Re: Really? The first search result link has it. http://www.bing.com/search?q=Porter+Stemming+Algorithm&form=IE8SRC&src=IE-SearchBox | |
Re: There is not much info here to offer advice on, but the basic pattern could be something like this: Dim strm As IO.Stream = IO.File.OpenRead("pdfText.txt") Dim sr As New IO.StreamReader(strm) Dim line As String Dim trimchars() As Char = {" "c} Do While sr.Peek <> -1 line = sr.ReadLine() If … | |
Would be possible to have a new category added to Software Development for MS Office macros (VBA)? Right now these types of questions often get asked in the VB.Net forum. The best match available is VB4/5/6, as VBA is a VB6 dialect, but this also not a good option as … | |
Re: I am going try to rephrase your question and ask that you confirm whether or not it matches your ultimate goal. You have two lists of of numbers. One of the lists is longer than other and it contains all the values in the shorter list. You need to create … | |
Re: Probably an empty cell. try: `if Not String.IsNullOrEmpty(DataGridView1.Rows(i).Cells(4).Value.ToString()) Then tot += Convert.ToDouble(DataGridView1.Rows(i).Cells(4).Value)` | |
Re: Perhaps something like this, where "ellispse1" in the name of the ellipse you defined in XAML. private void button1_Click(object sender, RoutedEventArgs e) { Ellipse copyel = EllipseCloneProperties(ellipse1); // set your positioning properties canvas1.Children.Add(copyel); } private Ellipse EllipseCloneProperties(Ellipse source) { Ellipse clone = new Ellipse(); foreach (System.Reflection.PropertyInfo pi in typeof(Ellipse).GetProperties()) { … | |
Re: Have you tried the documentation? [System.Web.UI.WebControls Namespace](http://msdn.microsoft.com/en-us/library/8bhzsw6t.aspx) [System.Windows.Forms Namespace](http://msdn.microsoft.com/en-us/library/k50ex0x9.aspx) | |
Re: You will likely get several techniques for doing this. Here are two that I find preferable. Public Class Form1 Sub LaunchForm2() Dim f2 As New Form2 f2.needVariable = 2 ' pass as property f2.ShowDialog() End Sub Sub LaunchForm3() Dim f3 As New Form3(3) ' pass in constructor f3.ShowDialog() End Sub … | |
Re: > Can anyone tell me if this is possible? Yes it can be done, but you may not like dealing with some of the after effects of doing it. First you need to get the correct window handle using the API function FindWindow with the proper class name. For Word … | |
Re: Here are some articles you may want to investigate: http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/access-denied-to-hard-drive-and-security-tab/2b3a4276-f078-4c67-9867-085d10765b28 http://www.blogsdna.com/2159/how-to-take-ownership-grant-permissions-to-access-files-folder-in-windows-7.htm | |
Re: >Report.Database.Tables(1).SetDataSource rs, 3'>>> Where the error shows up If "1" (the only subscript there) is out of range, are sure that that should not be: `Report.Database.Tables(0).SetDataSource rs, 3 | |
Re: >Conversion from type 'DataRowView' to type 'String' is not valid. try something like this: `TextBox1.Text = CType(ComboBox1.Items(ComboBox1.SelectedIndex), DataRowView).Row("FieldName").ToString()` or `TextBox1.Text = CType(ComboBox1.Items(ComboBox1.SelectedIndex), DataRowView).Row(#).ToString()` where # is the zero based column index of field you want. | |
Re: perhaps this article can help you. http://visualbasic.about.com/od/quicktips/qt/vb6pack_deploy_wiz2.htm | |
Re: Also make sure that your application is compiled as a 32-bit application (x86). | |
Re: I am not going to try and figure out where your logic went wrong, but rather I am going to show you a different way. Date values are store as Doubles that are referenced to a base value. These values can be either added to or subtracted from and the … | |
Re: If the datagridview is backed by a datatable filled from something (a database query), then something like this would work. // make a datatable to simulate a table filled from a database DataTable dt = new DataTable(); DataRow r ; dt.Columns.Add("item", typeof(string)); dt.Columns.Add("quantity", typeof(decimal)); dt.Columns.Add("weight", typeof(decimal)); r = dt.NewRow(); r[0] … | |
Re: >I still get my catch message box. At this point I'm not really sure what is happening anymore... Comment out the Try-Catch statements and let the debugger show you where the error is occuring. Inspect the variables and see if they are what you would expect. For some guidance on … | |
Re: Your file is open with the filestream object when you try to open it via `Proc.Start();`. At a minimum, add `FS.Flush();` after writing out the bytes to flush the buffer to disk. Preferably, close the file before calling `Proc.Start(); `. | |
Re: It is called a property. see: [Properties (C# Programming Guide)](http://msdn.microsoft.com/en-us/library/x9fsa0sw.aspx) | |
Re: > If I'm not mistaken, these user-scope settings will not be there when the application is restarted. You are misktaken. User-Scoped settings would be pretty useless if they could not be saved. The default is for them to be saved on application shutdown, but you can also issue the statement … | |
Re: >for example in VB.net .... > >but in C# this doesn't seem to work, i can hide the form fine (this.hide();) but when in the second form i cannot recall the form (form1.show();) as it doesn't seem to exsist, but i tested it by taking out the .hide(); and it … | |
Re: > If you just try to open the vb6 project in vb10 it should automatically start the conversion wizard. It will take you through the conversion and ask you if you want to see the resulting log file when done. In my experience it does a decent job of converting. … | |
Re: Actually!! Watch a so-called news broadcast in the US with one of their airhead reporters and count how how many times they use use the word; ACTUALLY. . ex. We are actually on the scene of an major accident. The police have actually asked the public to stay away. We … |
The End.