15,901,205 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 mohammed besher (Top 11 by date)
mohammed besher
26-Mar-13 9:13am
View
I don't understand your way Can You Write Code ? please
mohammed besher
26-Mar-13 8:55am
View
that is code in the page
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="execChatWindow.aspx.vb" Inherits="execChatWindow" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Executive Chat Window</title>
<link href="style.css" rel="stylesheet" />
<script type="text/javascript">
var count = 1;
function SendMsg() {
if (document.getElementById('txtMessage').value != '') {
CallServer(document.getElementById('txtMessage').value, "");
var strMsg = document.getElementById('lblChatMessages').innerHTML;
document.getElementById('lblChatMessages').innerHTML = strMsg + '
Me :
' + document.getElementById('txtMessage').value + '<br>';
location.href = '#' + count;
count = parseInt(count) + 1;
//return false;
}
}
function ReceiveServerData(arg, context) {
//alert('Processed callback.');
document.getElementById('txtMessage').value = '';
}
</script>
<script type="text/javascript">
// Script to generate an automatic postBack to the server
mohammed besher
26-Mar-13 8:52am
View
but this function in same page Did i have to put it in separate folder ?????
mohammed besher
26-Mar-13 8:40am
View
ScriptManager.RegisterStartupScript(Me, GetType(Page), "Alert", "Javascript:alert('test');", True) works very well
mohammed besher
26-Mar-13 7:56am
View
Thanks I tried it But it doesn't work
mohammed besher
21-Mar-13 10:33am
View
thanks very much you are very helpful
mohammed besher
7-Dec-12 1:58am
View
thanks (CPallini ) this help me too much
mohammed besher
2-Dec-12 5:27am
View
can any body help me to understand this code please help
public void ExportKey(string RegKey, string SavePath)
{
string path = "\"" + SavePath + "\"";
string key = "\"" + RegKey + "\"";
var proc = new Process();
try
{
proc.StartInfo.FileName = "regedit.exe";
proc.StartInfo.UseShellExecute = false;
proc = Process.Start("regedit.exe", "/e " + path + " " + key + "");
if (proc != null) proc.WaitForExit();
}
finally
{
if (proc != null) proc.Dispose();
}
}
mohammed besher
2-Dec-12 4:52am
View
I found code but it doesn't work with me
string Command = ("/C regedit.exe /e " + @"""" + ModernTechBU + @"\CurrentUser.Reg" + @"""" + CurrentUser);
if (Directory.Exists(ModernTechBU)==false)
{
Directory.CreateDirectory(ModernTechBU);
}
System.Diagnostics.Process.Start("CMD.exe", Command);
RegCall.Close();
mohammed besher
2-Dec-12 4:42am
View
thanks i want C# code that take image from reg files which is same as registry editor
mohammed besher
1-Dec-12 15:55pm
View
thanks but i want to take backup as reg file not as xml
Show More