Click here to Skip to main content
12,703,012 members (31,057 online)

Comments by Mehdi Gholam (Top 200 by date)

Mehdi Gholam 13-Jan-17 10:24am View
   
My knowledge of large numbers fail after a trillion :) but I found https://en.wikipedia.org/wiki/Names_of_large_numbers
Mehdi Gholam 13-Jan-17 9:02am View
   
part of it was from stackoverflow ;)
Mehdi Gholam 7-Jan-17 8:47am View
   
Try running the code as an administrator.
Mehdi Gholam 3-Jan-17 1:57am View
   
Do them both.
Mehdi Gholam 24-Dec-16 3:56am View
   
... and what is the problem?
Mehdi Gholam 20-Dec-16 1:06am View
   
Try contacting the original author(s).
Mehdi Gholam 12-Dec-16 0:32am View
   
How about adding a column like "bulk batch no"
Mehdi Gholam 11-Dec-16 8:24am View
   
How about inserting into a "temp table" and moving the data when all ok.
Mehdi Gholam 11-Dec-16 3:44am View
   
Found the problem with a lot of tinkering... (wee hee!!), see solution 2
Mehdi Gholam 11-Dec-16 0:55am View
   
Didn't help.
Mehdi Gholam 10-Dec-16 5:21am View
   
You have to install the hadoop server (requires java) not the client which just connects to it.
Mehdi Gholam 9-Dec-16 2:22am View
   
What have you tried?
Mehdi Gholam 7-Dec-16 0:39am View
   
Offsets to what?
Mehdi Gholam 7-Dec-16 0:39am View
   
You have to write the code first.
Mehdi Gholam 4-Dec-16 6:11am View
   
What do you mean by "restart"?
Mehdi Gholam 3-Dec-16 2:10am View
   
Only on setup, when using it normally UAC is checked and enforced.
Mehdi Gholam 3-Dec-16 1:30am View
   
A journey of a 1000 miles starts with the first step.
Mehdi Gholam 30-Nov-16 5:33am View
   
Try reinstalling the OLEDB provider again.
Mehdi Gholam 30-Nov-16 5:31am View
   
Somewhere your "nothing" object should be set to something (created/new-ed) find the place and fix it.
Mehdi Gholam 30-Nov-16 3:39am View
   
Please edit your question, because it makes little sense.
Mehdi Gholam 30-Nov-16 1:35am View
   
Why?
Mehdi Gholam 28-Nov-16 11:36am View
   
When interfacing directly, make sure you have adequate hamster protection! :)
Mehdi Gholam 28-Nov-16 11:09am View
   
Try contacting Chris directly.
Mehdi Gholam 28-Nov-16 7:17am View
   
Be friends with Google.
Mehdi Gholam 28-Nov-16 2:35am View
   
Read the documentation, but I presume it is like reading from any other data source and you provide the column index as a parameter (0 in the above example = column 0 in the row just read)
Mehdi Gholam 27-Nov-16 2:25am View
   
Why are you using StrComp ?
Mehdi Gholam 25-Nov-16 1:44am View
   
... and what is your question?
Mehdi Gholam 24-Nov-16 3:24am View
   
Show your code.
Mehdi Gholam 22-Nov-16 8:22am View
   
Javascript is very limited why do you want to do the conversion in javascript?
Mehdi Gholam 22-Nov-16 2:49am View
   
Try asking the vendor of the component.
Mehdi Gholam 22-Nov-16 2:47am View
   
Show your code, the above explanation is not helpful.

Also why compress a pdf in a service on the service startup.
Mehdi Gholam 21-Nov-16 2:07am View
   
You need to compute the rainbow table of seeds and output numbers (which is very big) and will only work for starting bytes and would fail for "middle bytes" i.e. non starting sequences.
Mehdi Gholam 21-Nov-16 1:47am View
   
It's computationally unpractical.
Mehdi Gholam 17-Nov-16 2:22am View
   
... and what have you tried?
Mehdi Gholam 16-Nov-16 1:07am View
   
Abstract classes by definition cannot be created directly.
Mehdi Gholam 15-Nov-16 1:24am View
   
How big is the original file size?
Mehdi Gholam 14-Nov-16 8:11am View
   
FTP is still the best protocol.
Mehdi Gholam 14-Nov-16 5:42am View
   
Try asking the author below the article : http://www.codeproject.com/Articles/203840/RSA-License-Protection
Mehdi Gholam 14-Nov-16 5:37am View
   
No, even if it did it would be minuscule.
Mehdi Gholam 14-Nov-16 5:21am View
   
Does it matter as long as it works?
Mehdi Gholam 14-Nov-16 5:19am View
   
Styles are a matter of opinion and boil down to whoever is going to read the code next.

Also the best option is to pick a style and stick to it.
Mehdi Gholam 14-Nov-16 5:15am View
   
What is the problem? you get the following output ->

This is an override function
Actual function in parent class
Mehdi Gholam 14-Nov-16 0:31am View
   
I don't believe you have that information, other than the manufactured date.
Mehdi Gholam 13-Nov-16 10:40am View
   
Why threads?
Mehdi Gholam 11-Nov-16 5:09am View
   
Try adding a row number, and filter on that.
Mehdi Gholam 11-Nov-16 5:04am View
   
Why not? filter your data to make it smaller and change your filter until you have covered all the rows.
Mehdi Gholam 11-Nov-16 4:56am View
   
"select * from dbftable where ... " -> fill in the where part.
Mehdi Gholam 11-Nov-16 4:51am View
   
Then filter your data and import in logical chunks.
Mehdi Gholam 11-Nov-16 4:46am View
   
86bit??
Mehdi Gholam 11-Nov-16 4:37am View
   
1) Select less data by using a filter, and do it in chunks
2) Run on a 64bit system.
Mehdi Gholam 10-Nov-16 2:12am View
   
Your problem may not be the "getting" part but the viewing part, profile you code to see which part is slow first.
Mehdi Gholam 9-Nov-16 4:11am View
   
Try running as admin.
Mehdi Gholam 9-Nov-16 4:01am View
   
...and what is the problem?
Mehdi Gholam 9-Nov-16 2:10am View
   
Try doing your homework yourself.
Mehdi Gholam 8-Nov-16 9:33am View
   
CSV files are uncompressed and XLSX files are more compact for the same data, so it would not be a good idea.

Also even if you could start on the client, what about connection failures and retry... , which would make your job harder.
Mehdi Gholam 8-Nov-16 7:29am View
   
Just validate the value instead of disabling.
Mehdi Gholam 8-Nov-16 5:00am View
   
You can't.
Mehdi Gholam 8-Nov-16 1:30am View
   
You have defined your columns with not null, so you have to specify values for all of them when inserting.
Mehdi Gholam 7-Nov-16 8:58am View
   
What is the problem?
Mehdi Gholam 7-Nov-16 2:51am View
   
Sorry we can't help.

Next time create backups or be more careful when deleting.
Mehdi Gholam 7-Nov-16 2:28am View
   
Read the documentation on how to use cordova first.
Mehdi Gholam 7-Nov-16 2:21am View
   
Google is your friend.
Mehdi Gholam 7-Nov-16 2:11am View
   
cordova etc. are client side (mobile side) technologies so you can extract the information then send it via webservice etc. to your server.
Mehdi Gholam 7-Nov-16 0:08am View
   
http://www.dictionaryapi.com/
Mehdi Gholam 5-Nov-16 14:50pm View
   
Why do birds fly?
Mehdi Gholam 5-Nov-16 9:03am View
   
Try your project on another machine that is working to see where your problem is.
Mehdi Gholam 5-Nov-16 9:01am View
   
C# is a programming language not a database, you can write databases in c# but that is a different matter.
Mehdi Gholam 5-Nov-16 6:09am View
   
No, you have to rethink what you are doing first.
Mehdi Gholam 4-Nov-16 6:26am View
   
Try the vendors website for a SDK.
Mehdi Gholam 4-Nov-16 6:24am View
   
The exact solution is to install the matching office version or change your connection string to the office version you have.
Mehdi Gholam 2-Nov-16 2:36am View
   
Try adding more ram first.
Mehdi Gholam 1-Nov-16 7:10am View
   
The definition of rounding a number is to the nearest number, and .0051 is nearer to .01 that .0000
Mehdi Gholam 1-Nov-16 4:43am View
   
You have to explain what you mean by "symmetric", and what you intend to do since your sentence makes little sense.
Mehdi Gholam 28-Oct-16 1:06am View
   
Start by doing something then asking.
Mehdi Gholam 27-Oct-16 1:47am View
   
Try asking your manager to qualify what he/she means, and be friend with Google.
Mehdi Gholam 25-Oct-16 4:45am View
   
Obviously you can't overwrite a file that is open, try writing to another file name.
Mehdi Gholam 24-Oct-16 1:16am View
   
Why? even at 60fps that gives 16ms.
Mehdi Gholam 16-Oct-16 13:15pm View
   
Start with a single database for all apps and all years.
Mehdi Gholam 14-Oct-16 4:21am View
   
Try saving the file as unicode or utf8.
Mehdi Gholam 14-Oct-16 4:19am View
   
This is not a tooling problem, but an architecture problem.
Mehdi Gholam 14-Oct-16 3:53am View
   
Check the data in your columns for valid date string values.
Mehdi Gholam 13-Oct-16 4:24am View
   
Cheers!
Mehdi Gholam 13-Oct-16 4:24am View
   
Presumably emp is not null after the cast so you are ok in the if block, but yes!
Mehdi Gholam 9-Oct-16 4:14am View
   
Try another email host like gmail etc.
Mehdi Gholam 9-Oct-16 4:11am View
   
Oh! you should probably work harder!
Mehdi Gholam 8-Oct-16 5:12am View
   
What are you trying to do? a string is not a char.
Mehdi Gholam 7-Oct-16 13:15pm View
   
Is the share being used by others?
Mehdi Gholam 4-Oct-16 14:23pm View
   
There are known ways around sql injection attacks, but I prefer to have maximum development speed and flexibility which in the short term and long term comes down to development cost.
Mehdi Gholam 4-Oct-16 11:07am View
   
Define "more solid"?
Mehdi Gholam 4-Oct-16 3:25am View
   
Looks like homework.
Mehdi Gholam 3-Oct-16 3:42am View
   
Show your code.
Mehdi Gholam 30-Sep-16 4:06am View
   
If your current code works, don't change it.
Mehdi Gholam 26-Sep-16 6:33am View
   
Why are you using SendKey() ?
Mehdi Gholam 26-Sep-16 6:07am View
   
The memory used will automatically be disposed in a virtual machine runtime like .net
Mehdi Gholam 26-Sep-16 5:37am View
   
What is your question?
Mehdi Gholam 26-Sep-16 2:05am View
   
Try and see.
Mehdi Gholam 26-Sep-16 2:04am View
   
Why?
Mehdi Gholam 24-Sep-16 2:34am View
   
No need to unsubscribe the garbage collector will handle it.
Mehdi Gholam 24-Sep-16 2:14am View
   
Contact your hosting service and make sure they have not disabled you.
Mehdi Gholam 20-Sep-16 2:15am View
   
The code is used for pinvoking to Windows, which might not make sense with java on non windows systems.
Mehdi Gholam 19-Sep-16 23:30pm View
   
GPU's are good for parallel processing, compression is not a parallel processing problem.
Mehdi Gholam 17-Sep-16 3:50am View
   
Cheers !
Mehdi Gholam 17-Sep-16 2:44am View
   
Make sure you have copied all the needed files, and your .net framework matches what you need.
Mehdi Gholam 17-Sep-16 2:42am View
   
Your question makes no sense since "login" depends on what you are doing and how you built your system.
Mehdi Gholam 16-Sep-16 8:44am View
   
Looks like homework.
Mehdi Gholam 12-Sep-16 3:35am View
   
My 5! :)
Mehdi Gholam 9-Sep-16 10:11am View
   
Why not create a new domain (i.e. http://oem.website.com) to another folder with the changed site?
Mehdi Gholam 9-Sep-16 3:00am View
   
You will have to explain more since your statement makes little sense.
Mehdi Gholam 9-Sep-16 2:39am View
   
Why?
Mehdi Gholam 8-Sep-16 2:55am View
   
Don't show so much data.
Mehdi Gholam 8-Sep-16 1:50am View
   
Ask your mail admin for the address, port and the enabled protocol.
Mehdi Gholam 8-Sep-16 0:40am View
   
Homework is for your benefit not ours.
Mehdi Gholam 7-Sep-16 9:37am View
   
Thanks!
Mehdi Gholam 7-Sep-16 0:36am View
   
Read about master-detail relationships in databases.
Mehdi Gholam 6-Sep-16 10:04am View
   
My 5!
Mehdi Gholam 6-Sep-16 6:32am View
   
Make sure your process is 64bit not 32bit.
Mehdi Gholam 5-Sep-16 11:19am View
   
5'ed
Mehdi Gholam 5-Sep-16 11:18am View
   
Thanks Maciej!
Mehdi Gholam 5-Sep-16 4:11am View
   
Thanks Maciej!
Mehdi Gholam 5-Sep-16 2:10am View
   
The error is self explanatory.
Mehdi Gholam 5-Sep-16 1:14am View
   
The code show how to recursively go down the folders, change it to do search.
Mehdi Gholam 4-Sep-16 6:24am View
   
What has this got to do with a data cube?

There are 4 data parts which you need to replace with * -> 16 combinations.
Mehdi Gholam 2-Sep-16 7:15am View
   
Find and replace with a ? at the end.
Mehdi Gholam 2-Sep-16 6:56am View
   
Since .net v2.0
Mehdi Gholam 2-Sep-16 6:00am View
   
Generally you should return the one thing, if not return object and have the caller figure it out.
Mehdi Gholam 2-Sep-16 2:22am View
   
... it must be the advanced version 2105 you have!
Mehdi Gholam 2-Sep-16 1:50am View
   
5'ed
Mehdi Gholam 2-Sep-16 1:44am View
   
Thanks Maciej!
Mehdi Gholam 2-Sep-16 1:26am View
   
If the xml does not change [much] try generating the html once and saving it for latter and using the saved version.
Mehdi Gholam 1-Sep-16 5:02am View
   
Looks like homework.
Mehdi Gholam 1-Sep-16 3:17am View
   
Create your own keyboard on your form.
Mehdi Gholam 1-Sep-16 2:53am View
   
http://stackoverflow.com/questions/18827081/c-sharp-base64-string-to-jpeg-image
Mehdi Gholam 1-Sep-16 2:34am View
   
Try yyyy-MM-dd format e.g. 1999-09-01
Mehdi Gholam 29-Aug-16 2:18am View
   
Start here : https://azure.microsoft.com/en-us/documentation/articles/sql-database-advisor/
Mehdi Gholam 29-Aug-16 1:09am View
   
Try adding an index on LineIDKey
Mehdi Gholam 29-Aug-16 0:40am View
   
Not a question for a programming forum. Try elsewhere.
Mehdi Gholam 28-Aug-16 4:23am View
   
Use Google to search for tutorials.
Mehdi Gholam 27-Aug-16 10:14am View
   
Define what you mean by "best"?
Mehdi Gholam 27-Aug-16 9:29am View
   
1) By WAN do you mean WiFi or the Ethernet port?
2) Is the internet on the tplink wireless router?
3) Do you have internet on the wifi connection?
4) Do you have internet on the lan port on the tplink router?
Mehdi Gholam 26-Aug-16 7:56am View
   
Cheers Maciej!
Mehdi Gholam 26-Aug-16 4:16am View
   
From what I recall all you need to do is telnet to the box and ftp download.
Mehdi Gholam 26-Aug-16 2:52am View
   
vbs is old technology and may be blocked for security reasons on newer Windows Servers.

By "switch" we presume you mean "network switches" right?
Mehdi Gholam 26-Aug-16 1:08am View
   
Handle null in what?
Mehdi Gholam 25-Aug-16 6:38am View
   
I haven't heard of audio files inside other audio files!
Mehdi Gholam 24-Aug-16 8:58am View
   
What is your query?
Mehdi Gholam 22-Aug-16 6:41am View
   
Your random numbers only make sense if someone requests one, hence check on request.
Mehdi Gholam 22-Aug-16 6:13am View
   
:) thanks
Mehdi Gholam 22-Aug-16 3:15am View
   
What is K?
Mehdi Gholam 22-Aug-16 3:01am View
   
looping of what?
Mehdi Gholam 22-Aug-16 2:33am View
   
Try Google first.
Mehdi Gholam 22-Aug-16 2:32am View
   
Google is your friend.
Mehdi Gholam 21-Aug-16 14:01pm View
   
Thanks Maciej!
Mehdi Gholam 21-Aug-16 7:22am View
   
Try by seeing what the input is and what you get when you run the code and working from there.

(Perl is usually write-once code!)
Mehdi Gholam 21-Aug-16 7:14am View
   
I was about to say the same thing, beat me to it, 5'ed!
Mehdi Gholam 20-Aug-16 5:58am View
   
Not if you want Excel files.
Mehdi Gholam 20-Aug-16 5:38am View
   
...and what is the question?
Mehdi Gholam 20-Aug-16 5:10am View
   
First line of what?
Mehdi Gholam 19-Aug-16 8:15am View
   
Text to speech, reading musical notes, you have to be more specific?
Mehdi Gholam 19-Aug-16 7:44am View
   
Is it working in other browsers?
Mehdi Gholam 18-Aug-16 5:22am View
   
You use Thread.Sleep().
Mehdi Gholam 18-Aug-16 5:03am View
   
Reading excel, displaying and threads don't make sense.
Mehdi Gholam 17-Aug-16 12:11pm View
   
Looks like a json encoded string.
Mehdi Gholam 17-Aug-16 1:55am View
   
Make sure the dll exists on the system you are testing on.
Mehdi Gholam 16-Aug-16 13:22pm View
   
Do you have a problem with shortage of memory?
Mehdi Gholam 15-Aug-16 1:44am View
   
Then obviously Application.GetResourceStream(pathToFile) isn't working so check you path.
Mehdi Gholam 15-Aug-16 0:28am View
   
Use a debugger and see which object is null.
Mehdi Gholam 14-Aug-16 10:49am View
   
We are here to help people who have genuine problems, not to do homework for you.
Mehdi Gholam 14-Aug-16 10:47am View
   
Use Google for the terms.
Mehdi Gholam 14-Aug-16 8:41am View
   
Your question makes little sense, try explaining more.
Mehdi Gholam 14-Aug-16 0:48am View
   
Use Chrome's debugger (F12) and select the element and see what css changes work.
Mehdi Gholam 14-Aug-16 0:26am View
   
5'ed
Mehdi Gholam 13-Aug-16 8:43am View
   
Try harder...
Mehdi Gholam 13-Aug-16 7:18am View
   
QR codes are images, decoding them is something else.
Mehdi Gholam 11-Aug-16 0:23am View
   
5'ed
Mehdi Gholam 11-Aug-16 0:23am View
   
Thanks Maciej!
Mehdi Gholam 10-Aug-16 6:06am View
   
Try asking Microsoft.
Mehdi Gholam 10-Aug-16 2:35am View
   
Cheers man!
Mehdi Gholam 10-Aug-16 2:05am View
   
Run a profiler and see where the bottleneck is.
Mehdi Gholam 10-Aug-16 2:03am View
   
5'ed
Mehdi Gholam 10-Aug-16 1:55am View
   
IDM is a client application and you have no control of it from html/javascript in a browser.
Mehdi Gholam 10-Aug-16 1:53am View
   
...and don't post non-questions.
Mehdi Gholam 9-Aug-16 8:44am View
   
Try syncing your table schema also.
Mehdi Gholam 8-Aug-16 7:14am View
   
Make sure your source and destination paths are valid and you can manually copy from and to them first.
Mehdi Gholam 6-Aug-16 2:26am View
   
Use String.fromCharCode() and convert the letters to numbers first.
Mehdi Gholam 5-Aug-16 3:15am View
   
It will only work in Internet Explorer (not chrome, firefox etc.)
Mehdi Gholam 4-Aug-16 4:18am View
   
You can't expect any meaningful answer with the little information you have provided.

Try running in a debugger.
Mehdi Gholam 4-Aug-16 2:03am View
   
Where is the code from?
Mehdi Gholam 3-Aug-16 4:37am View
   
5'ed
Mehdi Gholam 3-Aug-16 4:36am View
   
Cheers Maciej!
Mehdi Gholam 2-Aug-16 9:50am View
   
Backup everything, and try.
Mehdi Gholam 31-Jul-16 0:18am View
   
You will have to re-encode it.
Mehdi Gholam 26-Jul-16 6:44am View
   
Just add a table to your DataSet and populate it via the json data.
Mehdi Gholam 17-Jul-16 2:22am View
   
Looks like homework.
Mehdi Gholam 16-Jul-16 4:56am View
   
Oh the pain of IL emit!

Don't bother take a look at fastJSON reflection code :)
Mehdi Gholam 14-Jul-16 1:10am View
   
Use a flag column like Approved and set it to false for your data.
Mehdi Gholam 8-Jul-16 2:01am View
   
Try downloading a barcode font.
Mehdi Gholam 8-Jul-16 2:01am View
   
Google is your friend.
Mehdi Gholam 5-Jul-16 0:27am View
   
Find a hosting service which supports nodejs.
Mehdi Gholam 2-Jul-16 12:58pm View
   
Show less data and use paging.

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid