1,443 Posted Topics

Member Avatar for prajot_03

What do you mean "deduct"? Do you want to: 1) change the value by subtracting another value or 2) delete the value or 3) delete the row?

Member Avatar for thines01
0
153
Member Avatar for pokie_da_codie
Member Avatar for thines01
0
288
Member Avatar for kiail

Are you just supposed to make "words" from phone numbers? ...or is there a particular group of steps you're supposed to take?

Member Avatar for thines01
0
146
Member Avatar for Andy90
Member Avatar for zachattack05

1) You can make a WinForms or Console app that communicates across the web - To a web service - To a web server - To another app 2) You can make a WebForms (ASP.NET) app that does the same. 3) You can make a Silverlight app. 4) You can …

Member Avatar for skatamatic
0
158
Member Avatar for Panathinaikos22

> Um I thought writing code for someone isn't allowd here.... Writing the code for someone is not the problem. Doing someone's homework with no effort from them is a problem. > ... im newbie in C#, ... I'm glad you're trying to do this. It would be much better …

Member Avatar for wilen
0
280
Member Avatar for MasterHacker110

Yes, you would need to create a dynamic array of strings depending on how many are created from parsing the input string. The program would count the strings and display them one-by-one.

Member Avatar for MasterHacker110
0
172
Member Avatar for c++bob1234

You have a couple of options: You can pass it a float or a double bool is_cheaper_than(float flt) const; and fix your function to compare it's current value to the one passed in to the method... Or you can pass it another Automobile class (reference or pointer) and compare the …

Member Avatar for thines01
0
246
Member Avatar for zachattack05

That seems pretty logical. If you set each up as a separate command (before the switch/case statements), you should still receive the benefit you're expecting.

Member Avatar for zachattack05
0
138
Member Avatar for Behseini

Are you saying the VPN connection is not constant? How often does the application need to connect to the DB through the VPN? Does it need to connect automatically or can a user initiate the connection? Is there a possibility you can put the application on the same side of …

Member Avatar for thines01
0
133
Member Avatar for zachattack05

Looping for the update is pretty standard. There are ways of sending minimal updates, but you really need to know your data (and the table structure). One of the better tried-and-true techniques is to use stored-procedures where you are sending the procedure name and the parameters. The next best is …

Member Avatar for zachattack05
0
208
Member Avatar for alanso
Member Avatar for M.Waqas Aslam

If your SQL is returning something that cannot be converted, that can be a problem. What was the exact error you received?

Member Avatar for arunkumars
0
183
Member Avatar for Pamilerin

I would do it like this: Imports System Imports System.Collections Imports System.Xml.Linq Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim xd = XDocument.Load("..\..\XMLFile1.xml") DataGridView1.DataSource = ( From x As XElement In xd.Descendants("pricelist").Nodes() Select New With { .SYMBOL = x.Element("symbol").Value, .SECURITY = x.Element("security").Value, …

Member Avatar for thines01
0
355
Member Avatar for hastingo

Here is an [example in video form:](http://www.youtube.com/watch?v=yWSA6pRONPI) Here is a [web search](http://www.bing.com/search?q=c%23+chat+program+with+user+registration&qs=n&form=QBRE&pq=c%23+chat+program+with+user+registration&sc=0-15&sp=-1&sk=) I used to find it.

Member Avatar for thines01
0
193
Member Avatar for GTTravis

There are many ways to do that. Here is one: Imports System Imports System.Linq '' Module Module1 Function IsGoodString(ByVal strData As String) As Boolean If strData.Any(Function(c) Char.IsDigit(c) Or Char.IsPunctuation(c)) Then Return False End If Return True End Function Sub Main() Console.WriteLine(IsGoodString("Travis")) Console.WriteLine(IsGoodString("78*")) Console.WriteLine(IsGoodString("(neato)")) End Sub End Module

Member Avatar for GTTravis
0
163
Member Avatar for SovietTrash
Member Avatar for shah1509

You can turn a List<string> into a single string if you first convert it to an array and the use string.Join(). Like: string.Join(",", lstOfFiles.ToArray());

Member Avatar for shah1509
0
201
Member Avatar for prajot_03

Which part is giving you the trouble? There are many issues mentioned in your posting.

Member Avatar for artemix22
0
191
Member Avatar for Daffodil_Thursday

The screen will be blank until the form is drawn. Are you setting the breakpoint too early for the form to be shown? If you keep stepping through or just let it run at full speed (even in debug mode), it shows correctly, right?

Member Avatar for thines01
0
230
Member Avatar for Behseini

> rowValue = streamReader.ReadLine(); If you just read a line (like at code-line 20) before the loop, it will skip the first line in the file.

Member Avatar for thines01
0
1K
Member Avatar for nuclear

All languages serve a particular purpose (or were created to solve a particular problem). C# is no exception. If I'm coding only on a Windows platform, it is my language of choice. I know it can also run under Unix/Linux under Mono, but I have not tried that. I spent …

Member Avatar for mike_2000_17
0
162
Member Avatar for senbaris

The problem comes from Carriage-Returns inside the cells of the DataGridView, right? If you chek the content of each cell (or target cells) for unwanted chars, you can replace them before writing them to the CSV. Like: ...Value.ToString().Replace(Char(13), " ").Replace(Char(10), " ").Replace(Char(9), " ") There are other ways, also.

Member Avatar for thines01
0
391
Member Avatar for tendaishava
Member Avatar for thines01
0
343
Member Avatar for Andy90

In Solution Explorer, right click the solution name and select: Add -> Existing Project Browse to your existing project and add it. Remember to add the reference from the sub-project to the main project. ...do it in the "project" tab under the Add References dialog box.

Member Avatar for thines01
0
101
Member Avatar for Arjun_Sarankulu

It really depends on how you are reading and recognizing when you are finished reading. It sounds like some of your cells are not "purely" empty. ...like they previously had data but it was cleared rather than being deleted. One technique : If you scan the first column all as …

Member Avatar for thines01
0
104
Member Avatar for shandoosheri
Member Avatar for shandoosheri
0
210
Member Avatar for xEffrego

I might need to see the whole expression down to the semi-colon, but you might try an extra set of parentheses to help the compiler not be confused: while ((iteration < MAX_ITERATION) && (sqXY <= 4)) { /*...*/ If that doesn't work then the problem is somewhere else (or different …

Member Avatar for xEffrego
0
2K
Member Avatar for theMediator

How about the technique used in [this post](http://www.daniweb.com/software-development/vbnet/threads/420913/xml-int-datagrid)?

Member Avatar for thines01
0
73
Member Avatar for cplusfreak

Well, for the sake of efficiency, there is no need to declare a variable when you are just going to return a value that is easily reachable: int add(int a, int b) { return a+b; } The same goes with the rest of the functions like that (unless it is …

Member Avatar for thines01
0
159
Member Avatar for Pamilerin

I would imagine if you affix XML headers to those Nodes, you could parse them with the XML parser or Linq to XML.

Member Avatar for thines01
0
384
Member Avatar for bo0ga

Take a look at [this list](http://en.wikipedia.org/wiki/List_of_CLI_languages). If you are familiar with any of those, it will probably be VB.NET or C# as @deceptikon mentioned. The interviewer could also mean ANY of those languages that work on the CLR. If you know any language that works on the CLR, you can …

Member Avatar for thines01
0
245
Member Avatar for zachattack05

Set the CheckOnClick property to true; private void Form1_Load(object sender, EventArgs e) { checkedListBox1.Items.Add("me"); checkedListBox1.Items.Add("you"); checkedListBox1.Items.Add("us"); checkedListBox1.CheckOnClick = true; }

Member Avatar for zachattack05
0
124
Member Avatar for zaken5000

*This should be moved from te C forum to the C++ forum* My suggestion is for you to just write each of those functions in your class and make some examples that call your methods. My suspicion is that you will get an error saying they are *ambiguous* and you …

Member Avatar for TrustyTony
0
91
Member Avatar for samytaqq

What's your question? ...assuming you're not just asking for someone to do your homework as that would be a violation of [the rules](http://www.daniweb.com/community/rules).

Member Avatar for thines01
0
196
Member Avatar for zachattack05

Not sure, but can you test it by temporarily putting a MessageBox in each handler to see which one fires first?

Member Avatar for zachattack05
0
180
Member Avatar for 432

Like this? Imports System Module Module1 Sub Main() Dim strUrl As String = "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161116_00000000000000_375500185_q.jpg" Dim strNum As String = strUrl.Split("_")(1) Console.WriteLine(strNum) End Sub End Module

Member Avatar for thines01
0
69
Member Avatar for T0pAz
Member Avatar for rugged1529
Member Avatar for jhedonghae

How about checking to see if it is less than zero? if Integer.Parse(TextBox3.Text) < 0 then '...'

Member Avatar for jhedonghae
0
116
Member Avatar for paoi00

I'm confused at what you're actually trying to do: 1. Count items in a table 2. Compare two tables 3. Limit number of enrollees

Member Avatar for paoi00
0
110
Member Avatar for lianpiau

How are you selecting the records from the DataGridView? If you select them in a loop (or other primitive manner), you can dictate which one is first. private void Form1_Load(object sender, EventArgs e) { dataGridView1.DataSource = (from s in new List<string> { "alpha", "bravo", "charlie" } select new { name …

Member Avatar for Mitja Bonca
0
153
Member Avatar for NoIdea.Net

You have two TypeCode attributes, so I made an assumption you wanted the TenderType.TypeCode. Of course, depending on how many total elements and descendents you need, you maght do this a different way, but here is a sample: Imports System.IO Imports System.Collections.Generic Imports System Imports System.IO Imports System.Collections.Generic Imports System.IO …

Member Avatar for thines01
0
145
Member Avatar for Falcon25

You can put using MyNamespace; at the top of all of the modules (and new namespaces) using the static list. You will still need to reference it by its class name.

Member Avatar for Falcon25
0
123
Member Avatar for jhedonghae

It really depends on the type of report. You can make one out of just about anything (text, csv, xls, Crystal, others). If your report generator is a stand-alone executable (console app for example), you can use the wndows scheduler to make it run at any given time. You can …

Member Avatar for poojavb
0
160
Member Avatar for triumphost

Well, Dot Net C++ Console apps also have it, if that's not what you meant. For standard C++, you would need to write your own function to do that.

Member Avatar for m4ster_r0shi
0
2K
Member Avatar for webdep
Re: DFD

Are you taking about a [Data Flow Diagram](http://www.ehow.com/how_7205219_make-dfd-diagram.html)? If so, are you trying to create one in VB.NET code or just have VB.NET coders create a DFD for you? Would your DFD depend on what is to happen in the Banquet Hall?

Member Avatar for thines01
-2
158
Member Avatar for prasenjit_das
Re: vb.

There is no universal solution for reading all types of files. Just like on your computer, each file type requires a different "handler". For instance, you don't use MS Word to load, read and edit a PDF file. So, for a PDF, you will need to use COM automation or …

Member Avatar for thines01
0
177
Member Avatar for isaacjun16
Member Avatar for bettybarnes

The End.