|
Please don't repost - Especially when you're not asking a specific question.
Start working with what you have - when you have an actual c# problem, come back and describe it, and maybe someone will be able to answer.
|
|
|
|
|
i dono how to start tht is y i ws asking .. i mean from where shd i start and from whr shd i get the info for this
this is wt i wana do
1. The software tool must work over network, so that any user on his client station can manage or create VOIP accounts with different access control.
2. We get from the VOIP-Provider the Login & Password for each Phone number. We must create approximately 50,000 VOIP logins by the provider For our “Order Service” by each client WE MUST know on the “Softphone Client” from what registered phone number come the call with the registered Name by the VOIP provider.
3. We will install the Phone client Software later on each workstation to connection to PBX server
4. The PBX server MUST run on the VPN line. If the VPN line cuts any technical reason MUST immediately cut all VOIP registrations to provider and wait that the VPN is working and automatically registered again ALL registered VOIP numbers by provider.
5. To the tool MUST existing following function: One time in the month (so that we not loose by the provider the phone number) must call each registered phone number the other registered phone number! Not only ringing the number also has automatically to take the call for 1 second and hang up and take the next phone number.
6. When we added more VOIP accounts must also automatically added to the function under NUMBER 5!
|
|
|
|
|
try to buy a book about c#, learn it first. try to write a simple application, if it's works, then try to understand how PBX-VOIP work, then you can write your own application.
We will not write the whole application for you...!!!
|
|
|
|
|
ok man thnx alot for ur help
|
|
|
|
|
hi everybody
i m doing a small banking application
i have three tables master,transactions,ledgers
if i m entering the opening balance from master table it inserts in the ledger table and display that value properly.
if i update that value in master it updates ledger value properly.
i enter the values in grid view and save them
they are saved in ledger table as well as corresponding tables.here i m using storedprocedures for saving values.
ledger table is read only it displays only report in gridview
**transaction table have 3 columns
-------------------------------------------
date | deposit | withdrawl
-------------------------------------------
**my ledger table have 4 columns
-------------------------------------------
date | deposit | withdrawl | balance
-------------------------------------------
now the task is
if i enter amount in 'deposit'column of 'transaction table's gridview' ,it displays in deposit column of ledger gridview
for suppose
i enter amount in 'withdrawl 'column of 'transaction table's gridview' ,it displays in withdrawl column of ledger gridview
now balance will be calculated and displays in balance column of ledger's gridview
how can i calculate and displays in gridview of ledger
-------------------------------------------------------------------
date ------ deposit---- withdrawl-----balance
-------------------------------------------------------------------
1/1/2000----1500-----------0----------1500
2/2/2000------0----------1000----------500
3/3/2000-----700-----------0----------1200
4/4/2000------0-----------200---------1000
------------------------------------------------------------------
like this i need
hope u help me n this issue
with regards,
nagendra kumar
|
|
|
|
|
Hi,
I need to change the name of my c# application without affect on my application.
I tried to do that by properties of the solution explorer and change the namespace but the program not open.
|
|
|
|
|
Hi, try to rebuild your project.
Hope this one can help.
Thanks
Hi, Please select Good Question if my answer are fit to your Question.
|
|
|
|
|
i want ot display image for diferent record .
i got problem the picture will not displayed
<asp:TemplateField HeaderText="Model Picture">
<ItemTemplate>
<%# Eval("ModelPicture") %>
</ItemTemplate>
</asp:TemplateField>
|
|
|
|
|
Hi!
I would like to execute the command "dir" in the command prompt. But instead manually start the command prompt from the start menu and manually type in "dir" and hit Enter. I would like a console application to do this for me.
This code starts the command prompt
System.Diagnostics.Process.Start("cmd.exe");
How can I pass a command to the command prompt from this point in the code and execute it?
I thought this code did the trick, but no
System.Diagnostics.Process.Start("cmd.exe", "dir");
What am I missing?
|
|
|
|
|
use
System.Diagnostics.Process.Start("cmd.exe", "/c dir");
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Errr...
I don't think this will work actually... The /c causes the cmd to close right away
Assuming that the expected result is to open the cmd window in the given directory, I would write it like this:
System.Diagnostics.Process.Start("cmd.exe", "/k \"drive && cd dir\"");
Where drive is the drive letter containing dir
And dir is the directory
Example:
System.Diagnostics.Process.Start("cmd.exe", "/k \"c: && cd C:\\PROJECTS\"");
|
|
|
|
|
You can do it in that way also. But the OP has not mentioned if he wants to have the command window opened,so I've given the simple answer
Ideally I would like to redirect from the standard output (read it to a string) while executing the DOS commands.
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
The /c makes the cmd to close right away, but the function still worked. I shall try your solution as well.
|
|
|
|
|
|
This might help:
Process p = new Process();
p.StartInfo.FileName = "cmd.exe";
p.StartInfo.WorkingDirectory = @"c:\";
p.StartInfo.Arguments = "/k dir";
p.Start();
जय हिंद
|
|
|
|
|
try it!
System.Diagnostics.Process.Start("cmd.exe", "/c dir");
|
|
|
|
|
I have a DGV with checkboxes, a method processes each row and when complete unchecks the row.
This works fine, click the button and the form freezes and returns sometime later with all the boxes unchecked.
Now I introduce a separate thread to do the processing, split out the UI update and use the following to uncheck each row as it completes.
this.BeginInvoke((MethodInvoker)delegate
{
UpdateGrid(oRow, iRecords);
});
private void UpdateGrid(DataGridViewRow oRow, int iRecords)
{
oRow.Cells["Records"].Value = iRecords;
oRow.Cells["Sel"].Value = false;
}
This works fine EXCEPT the first row (which happens to be selected but this is irrelevant) does not uncheck.
Slap a break point on and the index is hit and the first row is unchecked properly so I hit F5. Now the 2nd row is left checked. Seems there is an interaction between the debugger and the thread processing.
Has anyone else seen this type of behaviour?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Dear All,
I am inserting data into Access Database using Update Queries same as store procedures in MSSQL 2005, i am passing params like following
OleDbCommand cmd=new OleDbCommand("queryName",p.con);
cmd.CommandType= CommandType.StoredProcedure;
cmd.Parameters.Add("@p1", OleDbType.SmallInt).Value = secId;
cmd.Parameters.Add("@p2", OleDbType.SmallInt).Value = comDivId;
cmd.Parameters.Add("@p3", OleDbType.VarChar).Value = prob;
if (p.con.State!=ConnectionState.Open)
p.con.Open();
cmd.ExecuteNonQuery();
this works fine.
now i would like to get the equivalent insert statement of this query
after the statement cmd.ExecuteNonQuery()
how should i get the insert statement equivalent to this update query (store procedures)
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
If I understand correctly, you'd need a different stored procedure to do the insert, most probably with the same parameters so the code you have above would work with both - just change the "queryName"
Regards,
Rob Philpott.
|
|
|
|
|
this is cool solution,what i want, this is not the answer
i want my store procedure equivalent insert statement.
I would like to get the log of insertion,deletion,update of my queries and save these statement as a separate row in table called "tblLog"
I want to save only the sql statement into a row in the log table.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Hi,
I'm using winchm tool to create help file and its extension is wcp
and i need to call this file in c# Application.How?
|
|
|
|
|
Use System.Windows.Forms.HelpProvider(available in the ToolBox) and assign the .chm (or.wcp) file to its namespace property. On pressing the F1 key, the help file will be shown.
[Edit]:Not sure if it works for .wcp extension.
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
hi everybody
i m doing a small banking application
i have three tables master,transactions,ledgers
if i m entering the opening balance from master table it inserts in the ledger table and display that value properly.
if i update that value in master it updates ledger value properly.
i enter the values in grid view and save them
they are saved in ledger table as well as corresponding tables.here i m using storedprocedures for saving values.
ledger table is read only it displays only report in gridview
**transaction table have 3 columns
-------------------------------------------
date | deposit | withdrawl
-------------------------------------------
**my ledger table have 4 columns
-------------------------------------------
date | deposit | withdrawl | balance
-------------------------------------------
now the task is
if i enter amount in 'deposit'column of 'transaction table's gridview' ,it displays in deposit column of ledger gridview
for suppose
i enter amount in 'withdrawl 'column of 'transaction table's gridview' ,it displays in withdrawl column of ledger gridview
now balance will be calculated and displays in balance column of ledger's gridview
how can i calculate and displays in gridview of ledger
-------------------------------------------------------------------
date ------ deposit---- withdrawl-----balance
-------------------------------------------------------------------
1/1/2000----1500-----------0----------1500
2/2/2000------0----------1000----------500
3/3/2000-----700-----------0----------1200
4/4/2000------0-----------200---------1000
------------------------------------------------------------------
like this i need
hope u help me n this issue
with regards,
nagendra kumar
|
|
|
|
|
I don't see the problem, you write the transactions back to the database, presumably you have a proc to supply the ledger data so recall that proc after each transaction entry.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi,
I'm doing some Microsoft Word automation using Microsoft.Office.Interop.Word namespace,
in this application i'm opening a file (template.docx) and making some changes in it and then saving it.
Just when the file is going to be opened:
myWordDoc = myWordApp.Documents.Add(ref filename, ref missing, ref missing, ref missing);
i receive this exception:
Word was unable to read this document. It may be corrupt. <br />
<br />
Try one or more of the following: <br />
<br />
* Open and Repair the file. <br />
<br />
* Open the file with the Text Recovery converter. <br />
but i'm sure the file is not corrupt, i can open it in word and its data is correct.
Whould anyone please tell me what should i do now???
Thanks in Advance
Roshanak
|
|
|
|