Click here to Skip to main content
13,092,725 members (73,171 online)

Comments by Mehdi Gholam (Top 200 by date)

Mehdi Gholam 3hrs ago View
Mehdi Gholam 13-Aug-17 7:34am View
Remove the quotes around the values.
Mehdi Gholam 13-Aug-17 7:13am View
Update statements should be in the form of "UPDATE table SET x=y WHERE id=i"
Mehdi Gholam 13-Aug-17 7:02am View
Check your data types and the value types you are sending.
Mehdi Gholam 12-Aug-17 13:03pm View
Active cell with ?
Mehdi Gholam 8-Aug-17 1:04am View
Looks like 4 character/2 byte unicode values.
Mehdi Gholam 7-Aug-17 4:43am View
Mehdi Gholam 5-Aug-17 8:03am View
Check your html for matching closing of tags.
Mehdi Gholam 5-Aug-17 2:16am View
Make sure the DLL and all dependent DLL files are beside your EXE.
Mehdi Gholam 4-Aug-17 8:53am View
The web browser control in winforms uses IE so it already handles javascript and html.
Mehdi Gholam 4-Aug-17 5:36am View
Try using another ftp client library.
Mehdi Gholam 3-Aug-17 8:41am View
Try running the uninstall as administrator.
Mehdi Gholam 2-Aug-17 5:23am View
Showing the error will help, you can't expect us to be psychic.
Mehdi Gholam 2-Aug-17 2:17am View
Try asking the author on github.
Mehdi Gholam 1-Aug-17 10:52am View
Audio processing, FFT, signal processing etc. is a hard topic.
Mehdi Gholam 31-Jul-17 7:11am View
Yes, and it works from behind a firewall.
Mehdi Gholam 31-Jul-17 7:03am View
Mehdi Gholam 31-Jul-17 6:42am View
You require the SQL Server machine be visible to the clients, like in a normal network, however making the server visible over the internet without security measures is not advised.
Mehdi Gholam 31-Jul-17 6:26am View
Internet **is** a network connection, so yes.
Mehdi Gholam 30-Jul-17 1:31am View
Don't re-post.
Mehdi Gholam 28-Jul-17 4:44am View
Since we don't have access to your data, there is very little help we can provide, other than play around with your dates and query.
Mehdi Gholam 22-Jul-17 6:51am View
I would keep the IDictionary since the compiler will help you with an error if you pass any thing else.
Mehdi Gholam 22-Jul-17 6:40am View
Mehdi Gholam 22-Jul-17 6:35am View
Sorry, fixed.
Mehdi Gholam 22-Jul-17 6:31am View
? in your output is a presentation problem to do with character encoding in you html or font settings.
Mehdi Gholam 22-Jul-17 6:28am View
You can hard code the values in your application (not recommended).
Mehdi Gholam 22-Jul-17 6:12am View
Try asking your teacher/professor for other methods.
Mehdi Gholam 22-Jul-17 6:08am View
What do you intend to do in SomeMethod() ?
Mehdi Gholam 20-Jul-17 4:38am View
... and what is your problem?
Mehdi Gholam 19-Jul-17 9:37am View
Google is your friend.
Mehdi Gholam 19-Jul-17 7:30am View
The browser in the win phone should support html5 (it's not *that* bad).
Mehdi Gholam 19-Jul-17 7:28am View
What I did:
- on the server created a json file with the url to the docx file and other info like title, and upload url etc.
- the client in the browser download the json file as a .myext file (your choice in extension)
- the browser auto opens the .myext file withe the app
- the app downloads the docx file and waits till the editor temp filename closes then uploads to the server
Mehdi Gholam 19-Jul-17 5:51am View
... and the problem is?
Mehdi Gholam 19-Jul-17 5:40am View
Unfortunately not since it is part of a clients application, but it is simple enough.
Mehdi Gholam 19-Jul-17 1:26am View
I wrote a small app in .net that downloads the docx file, opens Word, and uploads the completed docx when Word closes.
Mehdi Gholam 18-Jul-17 4:40am View
Create a timer in your javascript code and call a URL on your server to log activity.
Mehdi Gholam 18-Jul-17 1:32am View
docx files are zip files with the content encoded in an xml format, so just open the zip file.
Mehdi Gholam 15-Jul-17 8:06am View
Seems pretty simple, what have you done?
Mehdi Gholam 9-Jul-17 0:55am View
To answer the question you need to know the schema also.
Mehdi Gholam 4-Jul-17 0:53am View
Always write offline then copy and paste into Code Project to be safe.
Mehdi Gholam 3-Jul-17 10:44am View
.net core v1.1 has limitations, try it on the v2 preview which has more functionality.
Mehdi Gholam 2-Jul-17 7:03am View
Try reading the platform specific documentations.
Mehdi Gholam 29-Jun-17 5:20am View
First the data types should be compatible, otherwise you should convert them first then change the data type.
Mehdi Gholam 26-Jun-17 14:23pm View
Start by the certificate authority and see whet they require you to know.
Mehdi Gholam 14-Jun-17 3:29am View
Try yyyy-MM-dd HH:mm:ss
Mehdi Gholam 30-May-17 1:08am View
I don't think it has a "Width" property.
Mehdi Gholam 23-May-17 7:29am View
1- Makes no sense, there is no MS LAN OS.
2- You can't run *on* SQL 2014, you can work *with* SQL 2015
Mehdi Gholam 17-May-17 0:14am View
Then check the collation on your database and change it if needed :
Mehdi Gholam 16-May-17 23:43pm View
Mehdi Gholam 16-May-17 11:20am View
Mehdi Gholam 14-Apr-17 3:08am View
Just make a different regex for all the cases.
Mehdi Gholam 13-Apr-17 4:33am View
The best certification is doing actual work and showing it.
Mehdi Gholam 24-Mar-17 10:16am View
Read the documentation :
Mehdi Gholam 3-Mar-17 10:37am View
Technically yes, but if the EXE is v3.5 then it will require v3.5 to be installed, however if only the EXE was compiled to v4+ (and the DLL's stay v3.5) then all should be ok.
Mehdi Gholam 1-Feb-17 9:55am View
Why don't you just Process.Start() the power shell script?
Mehdi Gholam 13-Jan-17 10:24am View
My knowledge of large numbers fail after a trillion :) but I found
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
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 :
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
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
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
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
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. 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
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
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
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
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
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 :
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!

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