15,891,372 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Mohammad Reza Valadkhani (Top 69 by date)
Mohammad Reza Valadkhani
17-Jan-23 2:50am
View
I recommend you to read again Design patterns, it will help to understand what solution would be appropriate for your code, I look at this question in my own way that you need static parameter to be accessible from somewhere, your approach is work, but in OO we have to consider many things to have high level class code structure
Mohammad Reza Valadkhani
17-Jan-23 2:44am
View
Please note videoView has MediaPlayer property, you can create your mediaplayer instance and set your values ( same as what you've done before to read from memory stream using MediaInput ) and then refer videoView.MediaPlayer to your MediaPlayer instance and from now control your mediaplayer from VideoView.MediaPlayer. so just do it again in case of problem, please share your VLC debug log messages to find out issues
Mohammad Reza Valadkhani
6-Mar-21 10:31am
View
sorry for late response is your problem fixed? if need help let me know
Mohammad Reza Valadkhani
15-Mar-16 9:11am
View
double check your database, if you have enough access try to check your query interaction in your SQL server to find out the error, technically this error happen when your table or filed is missing.
Mohammad Reza Valadkhani
15-Mar-16 9:02am
View
Could you explain more about your problem
Mohammad Reza Valadkhani
15-Mar-16 9:00am
View
it`s better to try some codes then ask your problems dude
Mohammad Reza Valadkhani
15-Mar-16 8:59am
View
are you sure that table and filed exists?!
Mohammad Reza Valadkhani
15-Mar-16 8:44am
View
What`s your main issue ?!
Mohammad Reza Valadkhani
14-Mar-16 12:14pm
View
Deleted
here is the part of the code that i was created to send multiple messages ( Concatenated ) with GSMCOMM library
#region MultipleMessaging
private SmsSubmitPdu[] CreateConcatMessage(string message, string number, bool unicode, bool showParts)
{
SmsSubmitPdu[] pdus = null;
try
{
if (!unicode)
{
pdus = GsmComm.PduConverter.SmartMessaging.SmartMessageFactory.CreateConcatTextMessage(message, number);
}
else
{
pdus = GsmComm.PduConverter.SmartMessaging.SmartMessageFactory.CreateConcatTextMessage(message, true, number);
}
}
catch (Exception ex)
{
//MessageBox.Show(ex.ToString());
return null;
}
return pdus;
}
private void SendMultiple(SmsSubmitPdu[] pdus)
{
int num = pdus.Length;
try
{
// Send the created messages
int i = 0;
foreach (SmsSubmitPdu pdu in pdus)
{
i++;
mainComminucator.SendMessage(pdu);
}
}
catch (Exception ex)
{
///MessageBox.Show("ERROR" + ex.ToString());
}
}
#endregion
Mohammad Reza Valadkhani
14-Mar-16 12:11pm
View
did you download the samples ?!
Mohammad Reza Valadkhani
14-Mar-16 6:41am
View
Check the Solution 1 please
Mohammad Reza Valadkhani
14-Mar-16 5:39am
View
I can help you about that, you need to send message as PDU format.
Mohammad Reza Valadkhani
14-Mar-16 5:28am
View
you have to create message part, for sending big message you have to create msg part
Mohammad Reza Valadkhani
14-Mar-16 5:27am
View
There is many choices to do that, you can do it by AT Commands over serial port or some third-party Library that have predefined code like GSMCOMM
Mohammad Reza Valadkhani
25-Oct-15 11:22am
View
there is lot of things to do, first what is your USB device?
Mohammad Reza Valadkhani
11-Jun-15 3:24am
View
you can set status method true to check message delivery, also GSMCOMM Provide events for that ( SendFailed Event and SendCompelete Event)
Mohammad Reza Valadkhani
19-Mar-15 3:58am
View
do you want to send a variable from one windows form to the other form?
Mohammad Reza Valadkhani
18-Mar-15 3:35am
View
Cosmos include linux base kernel and boot loader, and also it`s provide SDK for developing, if you install vmware workstation plugin for visual studio you could compile your code and see what your os will do in Automated Virtual Machine
Mohammad Reza Valadkhani
8-Mar-15 6:56am
View
have you tried threading?
Mohammad Reza Valadkhani
2-Mar-15 4:42am
View
for image processing use EMGU CV library for c#
Mohammad Reza Valadkhani
21-Feb-15 6:49am
View
thanks for your response
Mohammad Reza Valadkhani
21-Feb-15 4:24am
View
based on your challenge I've created a mouse automation application :D, it`s kind of automation app. you save all action you want to do by mouse clicks ( even right and left click ), and then based on timer you want and based on timer between action it`s doing what you want with mouse ( also disable keyboard and mouse control by user )thanks for your challenge if you like i could share it
Mohammad Reza Valadkhani
21-Feb-15 4:09am
View
handling permission is not recommended! ( I already have problem with that), why you not using something like encryption or also use encrypted compression on your files then send it to server! it`s also decrease the file size.
if i were you i use temp folder for saving screenshots based on encryption and at the end compress the folder then send. user may not access to your temp during the process because it`s open and also your screenshots is encrypted.
It`s an idea that comes to my mind. i hope it`s help you
Mohammad Reza Valadkhani
18-Feb-15 7:50am
View
so how could you run your project ?!
Mohammad Reza Valadkhani
18-Feb-15 4:35am
View
first you have to try something and then ask question.
google is invented for search! try google your things and ready your mind. doing something and then ask your question.
Mohammad Reza Valadkhani
18-Feb-15 4:27am
View
in your question tag I've seen EMGU, if you used EMGUCV check there is lots of example for EMGU drive camera. check them
Mohammad Reza Valadkhani
18-Feb-15 4:24am
View
please provide more information about your problem. generally if it`s work on your local machine properly, these things might be problem in other machine :
1. Dependencies on your project not fulfill on machine so check dependencies like framework version and other things.
2. check that under which user service install and run.
i hope these step will help you
Mohammad Reza Valadkhani
18-Feb-15 4:02am
View
it`s best answer nothing to add !
Mohammad Reza Valadkhani
18-Feb-15 4:01am
View
there is many ways to do so, you can use sms gateway provider they provide web service and you can use their web service and base on application you have created send sms to your destination. even you can use GSM modem connected to your computer or server create an application to send sms via GSM modem. i could help you on that if you want
Mohammad Reza Valadkhani
18-Feb-15 2:45am
View
could you show the scope of the error, i mean where is in your code it happen?
Mohammad Reza Valadkhani
17-Feb-15 7:19am
View
first of all try to put your code into code block! it`s really better to read your code, another thing try to fetch your query result and see if result is exactly the same as what is shown in your grid-view ?!
Mohammad Reza Valadkhani
17-Feb-15 7:06am
View
I think it might be thread issue because windows form or WPF structure, try using your TCP Communication from your application into a new thread. and if you want to update something on your form use delegate for that issue.! but if you could tell us your exact exception it will be really use full to help
Mohammad Reza Valadkhani
10-Feb-15 5:01am
View
try to microsoft.speech V11 it`s improved
Mohammad Reza Valadkhani
10-Feb-15 5:00am
View
is it solved !?
Mohammad Reza Valadkhani
9-Feb-15 5:35am
View
yeah but we could implement sync functionality into it
We Have Sync Framework here it could help you
https://jtabadero.wordpress.com/2010/03/08/sync-framework-wcf-based-synchronization-for-offline-scenario-%E2%80%93-using-custom-dataset-serialization/
Mohammad Reza Valadkhani
9-Feb-15 5:08am
View
so try WCF
Mohammad Reza Valadkhani
9-Feb-15 4:35am
View
i recommend you use WCF duplex form, so when ever you have connection send data to your server, and when you don't have store it in local DB, as the other said, i`ve used WCF for 5000 branch in my project also i could see which branch is online or offline in central monitoring by my service. also as the other said use flag for sent data to determine which one is sent, and send time within your data to find exact time on your record.
Mohammad Reza Valadkhani
9-Feb-15 3:37am
View
you can use windows Service to get user action in asp.net from WCF or webservice interaction and then scan document and index it by your windows service application into database. you must have enough knowledge on windows service and WCF or Webservice interaction.
Mohammad Reza Valadkhani
9-Feb-15 3:34am
View
please provide more explanation, you just copy and paste same sentence to the all others comments!
Mohammad Reza Valadkhani
8-Feb-15 9:49am
View
please provide some details on your error, if you share some piece of your codes and also some detail explanation, it`s hard to guess. check the following link
https://support.microsoft.com/kb/230176
Mohammad Reza Valadkhani
8-Feb-15 9:38am
View
improve your question! describe your problem in details not in title!
Mohammad Reza Valadkhani
8-Feb-15 9:31am
View
have you ever read something about class and Object Oriented ?!no one have enough time to check your whole project or at least there is few guys have enough time for it!
as previous comment said, don't post your question as a solution. improve Question link is invented for this issue!
Mohammad Reza Valadkhani
8-Feb-15 9:28am
View
did you have any third party references or assemblies?
i recommend you to change target platform to x86,because of your target machine.
This problem occurs if a program makes a request for memory with the MEM_TOP_DOWN flag set. A bad pointer may be returned
Mohammad Reza Valadkhani
8-Feb-15 6:37am
View
you must have enough knowledge on image processing
Mohammad Reza Valadkhani
8-Feb-15 6:01am
View
please provide your issues on your code, and also i recommend you http://docx.codeplex.com/
if you have problem handling docx files it will help you
Mohammad Reza Valadkhani
8-Feb-15 4:24am
View
you want word Template, or you want to export something into docx format!?
Mohammad Reza Valadkhani
7-Feb-15 11:05am
View
as the other said, using webservice for your communication process. it`s the simple and the best
Mohammad Reza Valadkhani
7-Feb-15 10:22am
View
the best answer i like it
Mohammad Reza Valadkhani
7-Feb-15 10:20am
View
there is no technical data about your hardware ! there is no nothing about it, the communication to your device if you are using USB is something like serial ! but the protocol is needed !
please improve your question first and get knowledge about how to ask question, your question is totally general no one could explain it
Mohammad Reza Valadkhani
7-Feb-15 10:09am
View
i don't understand your code ! are you kidding ! the best way for you to send SMS from your desktop application if don't want to provide any sms gateway is GSM Modem
try to use GSM modem and connect to it using serial port and then send SMS by your application using serial interface!
Mohammad Reza Valadkhani
7-Feb-15 10:05am
View
Hias you said your software going to negotiate with web service, for notification and getting online user the Web service method must be implement in a loop to check user and notification status from that based on time or event based.
I recommend you using XMPP structure for your chat session and other things.
Mohammad Reza Valadkhani
14-Sep-14 8:12am
View
I think it`s better first using Internet Explorer for your https url then save the certificate as trustful certificate, cause web browsing toolbox use system setting as IE use, check this out
Mohammad Reza Valadkhani
14-Sep-14 8:07am
View
did you add any changes to from initialization !?
i mean this :
public Form1()
{
InitializeComponent();
}
but still if you didn't share your code we couldn't notice what's wrong !
Mohammad Reza Valadkhani
9-Jul-14 3:39am
View
this solution already gives you wpm !!!
Mohammad Reza Valadkhani
9-Jul-14 3:24am
View
could you tell me how it sends the scanned data to pc, you can read it by tcp listener on your C# application for example.
Mohammad Reza Valadkhani
31-May-14 2:14am
View
first you need to create serial port for your micro controller, after that using MAX232 for serial communication using rs232, then use usb to serial cable to connect your device to the computer using DB9 Socket port on your device and usb port on your computer. So if you did this ! you must learn serial port section on C# and learn how to write and read data from serial port. actually usb is serial so you have to know serial communication standard. after these step you just need to search about serialport on C#
Mohammad Reza Valadkhani
31-May-14 2:05am
View
First of all you need to know about socket programming and then try to connect to your mainframes and control jobs rapidly on your own algorithm!
Mohammad Reza Valadkhani
26-May-14 4:33am
View
it depends on your android device! tablets and phones USB connector basically use for external storage if your device supports. first your device must create virtual com on your usb port then it`s possible.
then i don't think so! try some embedded board like raspberry PI
Mohammad Reza Valadkhani
17-May-14 1:22am
View
Replace
SerialPortClass.GetInstance().Write(data);
With
SerialPortClass.GetInstance().SendData(data);
Mohammad Reza Valadkhani
10-May-14 8:45am
View
There is no Code for Retrieve Emails from your inbox !!!! you missed it.
Mohammad Reza Valadkhani
28-Jul-13 2:56am
View
your welcome dude
Mohammad Reza Valadkhani
28-Jul-13 2:46am
View
thank you for your reply it`s fixed there is problem into my port writing method
Mohammad Reza Valadkhani
28-Jul-13 1:36am
View
Thank you for your comment ,I've tried them before ! and i've check it again, the problem still exist , it sends correct values but i don't know why i can't get same result as hyperterminal.
Mohammad Reza Valadkhani
29-Jun-12 1:33am
View
set a break point to determine where null reference happend !
Mohammad Reza Valadkhani
27-Jun-12 18:39pm
View
I`ve done it , it`s work when there was a hyperlink that redirect to a website but it`s not work on <head> <meta http-equiv="refresh" content="0; URL=http://www.mysite.com"> </head>
the guy who redirects to my site use this tag
Mohammad Reza Valadkhani
27-Jun-12 18:26pm
View
nothing special
Mohammad Reza Valadkhani
27-Jun-12 18:00pm
View
yes it`s not blocking at all but it`s possible to handle this referral
Mohammad Reza Valadkhani
27-Jun-12 17:58pm
View
you think is it better to implement this method into masterpage !?
Mohammad Reza Valadkhani
27-Jun-12 17:53pm
View
thanks for your tip , i think it`s work.
Show More