1,443 Posted Topics

Member Avatar for paulnamroud
Member Avatar for thines01
0
214
Member Avatar for Mr.BunyRabit

Also, did you already set up the same name in the ODBC Administrator? Control-Panel -> Administrative Tools -> DataSources(ODBC). You will need an entry with the same name registered in the same area on the working machine.

Member Avatar for Mr.BunyRabit
0
210
Member Avatar for jhedonghae

[Duplicate?](http://www.daniweb.com/software-development/vbnet/threads/419325/conflict-in-schedule)

Member Avatar for jhedonghae
0
575
Member Avatar for MikeShepard

I'm confused. Are you trying to call a process or parse a file? ...or are you trying to modify the file, output a new file THEN call a process?

Member Avatar for thines01
0
183
Member Avatar for bathtubbuddy

If you change it to NULL or ZERO or '0', you still need to make your code recognize that value means the spot is available for more data or "empty".

Member Avatar for Lerner
0
213
Member Avatar for Zvjezdan23

You might also want to put your printing loop outside of your "gathering" loop, so you can display the names all at the same time.

Member Avatar for thines01
0
94
Member Avatar for freddyk
Member Avatar for freddyk
0
693
Member Avatar for kiail

descQuantity is two items in an IEnumerable. How are you converting that to a numeric value?

Member Avatar for kiail
0
538
Member Avatar for Sravanthi Ch

This is the way i do it: public static List<string> GetFtpDirectoryDetails(NetworkCredential cred, string strDir) { List<string> lst_strFiles = new List<string>(); try { FtpWebRequest request = (FtpWebRequest)WebRequest.Create(strDir); request.Credentials = cred; request.Method = WebRequestMethods.Ftp.ListDirectoryDetails; FtpWebResponse response = (FtpWebResponse)request.GetResponse(); // StreamReader file = new StreamReader(response.GetResponseStream()); while (!file.EndOfStream) { lst_strFiles.Add(file.ReadLine()); } file.Close(); response.Close(); } …

Member Avatar for thines01
0
1K
Member Avatar for zachattack05

Most seasoned professionals would tell you: 1) to NOT use regions 2) to break your code up into chunks of functionality 3) to break up your functions into separate files 4) to use self-documenting/intuitive code rather than commenting. 5) that modern tools remove the need to sort your code Check …

Member Avatar for zachattack05
0
141
Member Avatar for Sravanthi Ch

It depends on your intentions (your request.Method). If you are listing a directory, it should be a directory. If you are downloading a file, it should be a file.

Member Avatar for thines01
0
110
Member Avatar for jbutardo

How can you assume the value of the year? ...otherwise, you can split the string ...or... Public Class Form1 Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged Dim strYear As String = "" strYear = DateTimePicker1.Value.Year MessageBox.Show(strYear) End Sub End Class

Member Avatar for poojavb
0
197
Member Avatar for Valiantangel
Member Avatar for thines01
0
76
Member Avatar for userct
Member Avatar for tendaimare

Will the description always have a slash / in it? If so, you can use .Split() on the string and parse it by the slash rather than taking data at a given position.

Member Avatar for adam_k
0
163
Member Avatar for MrEARTHSHAcKER

There is no easier way to create DLLs than to use Visual Studio (even VS Express). Whe you create a project type, you simply choose the option of DLL. You can choose to make one for Win32 or for the CLR. I suspect the other compilers also have different options …

Member Avatar for Ancient Dragon
0
171
Member Avatar for masterinex

One great benefit of this site is the great number of questions that have already been answered that you can search through. If you were to use the word StreamReader in the search window, you would probably get a multitude of examples.

Member Avatar for Momerath
0
257
Member Avatar for hwoarang69

Do you really need to give the 'x' treatment as a character? It seems like the requirement would be to pass x to a function and return the calculated value.

Member Avatar for TrustyTony
0
115
Member Avatar for Michael27

One thing I might do is spread those out in numerical (or reverse numerical) order and look for a pattern. If you look at this list, can you see two for loops? 0,0 0,1 0,2 0,3 0,4 0,5 1,5 2,5 3,5 4,5 5,5 5,4 5,3 5,2 5,1 5,0 4,0 3,0 …

Member Avatar for Mitja Bonca
0
354
Member Avatar for Andy90

Is the built-in SetCursorPosition() not acceptable? using System; namespace DW_418958_CS_CON { class Program { static void Main(string[] args) { Console.SetCursorPosition(20, 10); Console.ReadLine(); } } } ...but since the positions on the screen are whole numbers, only whole numbers would make sense. If *I* had originated this method, it would take …

Member Avatar for thines01
0
114
Member Avatar for outout1234

I have always found I mus specify the database and owner when using SQL Server as in: INSERT INTO MYDB.MYOWNER.MYTABLE (mythis, mythat) values ('thisvalue, 'thatvalue')

Member Avatar for Mitja Bonca
0
231
Member Avatar for Eagletalon

Is the DLL a dot net assembly? If so, add it as a reference. Of course, you would need to be compiling in /clr mode. Project->Properties->Add New Reference

Member Avatar for Eagletalon
0
3K
Member Avatar for kindofsudden
Member Avatar for Ordella
Member Avatar for JOSheaIV

You're mixing C++/CLI with STL. You'd be better-off picking one or the other. Is this to be a 2d array of chars or key/value pairs or what?

Member Avatar for JOSheaIV
0
3K
Member Avatar for FaceSmasher
Member Avatar for omeja
Member Avatar for nataliafoster26
Member Avatar for nataliafoster26
0
219
Member Avatar for shadyreal

Is it the actual WaitForMessage that's not being called? Have you tried creating a temp file inside your function just to see if it is being called (but the location it's trying to put it is failing)?

Member Avatar for thines01
0
174
Member Avatar for Hilfiger

Do you know ANY object oriented languages? If so, this should not be an issue (you just need to learn the new syntax). If C++ is your first language ever and you have not learned the basics, you need to explain that to your instructor. Four weeks is probably enough …

Member Avatar for Lerner
0
115
Member Avatar for apals

You *could* load that with Excel (COM classes) as Excel will parse that the way you expect. Of course, it's fairly slow (depending on how you do it) and has a learning curve. ...and the COM object requires Excel to be installed. Depending on how often you have to do …

Member Avatar for apals
0
613
Member Avatar for zachattack05

All you really need in the WHERE clause is the part that makes the record unique (1 record) if you are intending on deleting ONE record. Everything else is overkill. Do you have a unique index created on the table? Does your ORM read the unique index to make the …

Member Avatar for zachattack05
0
108
Member Avatar for tendaishava

A lot will depend on previous settings before the code gets to this point. It *could* never reach this depending on other values (or crash as Momerath said). Also, if patternURL is not properly formed, you'll get unexpected results. Are you going to rewrite this function?

Member Avatar for thines01
0
234
Member Avatar for priyanka85

I've never found an elegant way to do that: using System; using System.Linq; namespace DW_418578_CS_CON { class Program private static int[][] SortByColumn(int intColumn, int[,] arr_int) { private static int[][] SortByColumn(int intColumn, int[,] arr_int) { int intHeight = arr_int.GetUpperBound(0) + 1; int intWidth = arr_int.GetUpperBound(1) + 1; return ( from i …

Member Avatar for skatamatic
0
207
Member Avatar for agieli

I would do it in C#, but I know it better than Perl. Either language would surely get the job done -- it just depends on where you are most comfortable.

Member Avatar for Fiverivers
0
129
Member Avatar for tischn
Member Avatar for belber

This page is sloppy, but the example is orrect. http://codereflex.net/how-to-connect-vb6-to-mysql/

Member Avatar for belber
0
120
Member Avatar for vinnitro

How about scanning different programming forums and charting staticstics on: 1) Assumptions on what's being taught in universities based on content of questions being asked. 2) Assumptions on what are still hot academic languages 3) Assumptions on assignment types ("prime numbers", "calculators", "abc management systems", etc) 4) Assumptions on biggest …

Member Avatar for vinnitro
0
135
Member Avatar for jumbowat

It could mean the *amount* or *style* of code. Was it used in a particular sentence or paragraph?

Member Avatar for BobS0327
0
1K
Member Avatar for Usmaan

> What would be the best Database system for me? That is a very subjective question. The answer is probably: The one you've used before, if any. If you have never used a database before and you're approaching this a a user, the brand probably won't matter. If you're doing …

Member Avatar for thines01
0
198
Member Avatar for anthonyjpv

@anthonyjpv, there is also the [http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.aspx](DataAdapter). None of this will seem as *simple* as the constructs in PHP or other dynamic languages, but they can be very powerful when you start doing more complex operations. And, yes, you can attach all of the data-centric classes to MySQL (download the .net …

Member Avatar for thines01
0
176
Member Avatar for alanso

Yes, make an array and make one single integer variable. Put the first variable from the array in the single variable and start looping. If the next variable is LOWER than the the one in the single variable, replace it. When you get to the end of the loop, the …

Member Avatar for thines01
0
172
Member Avatar for akash.doe

This example creates an array of strings and prints the first element. #include "stdafx.h" using namespace System; int main(array<System::String ^> ^args) { Console::WriteLine((gcnew String("Hello World"))->Split(' ')[0]); return 0; }

Member Avatar for thines01
0
85
Member Avatar for artan8

Sincerely, the easiest way to get four of the five answers is to compile the code and step through it in the debugger. It will tell you a lot.

Member Avatar for PrimePackster
0
160
Member Avatar for er_svijayakumar
Member Avatar for artan8

Duplicate http://www.daniweb.com/software-development/cpp/threads/418490/arrays

Member Avatar for thines01
0
160
Member Avatar for Sean Raina
Member Avatar for amazing

I'm confused. Are you: 1) Trying to get data from an Excel file or 2) Trying to add the path to Excel to a context menu or 3) Something different ?

Member Avatar for amazing
0
311
Member Avatar for hey.howdy

You're comparing the character to NULL to to drop into that section of code?

Member Avatar for thines01
0
320
Member Avatar for Evesy

The End.