|
Sorry - out of my realm there, I use Visual Studio to handle all this stuff for me!
There's some 'hardcore' people around on these forums that like to do stuff without an IDE, wait for one of them to help you - or download Visual C# Express[^] for free and get a shiny IDE.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
DaveyM69 wrote: wait for one of them
You rang?
|
|
|
|
|
<DingDong />
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
I actually had Visual Studio installed alr, but cos current one is a small assignment, so I thought no need to use.
The System.dll is automatically added to my project references. Will come in handy for future big assignments.
|
|
|
|
|
using System.Text.RegularExpressions;
using System;
namespace Test
{
public class Test
{
public static void Main(string[] args)
{
Console.WriteLine("Hello");
Console.ReadKey();
}
}
}
This compiles prefectly for me just using this without any parameters:
csc test.cs
/edit: And yes, it tested it using pure 'hardcore' notepad++ (well, at least it has syntax highlighting!) and cmd
modified 12-Sep-18 21:01pm.
|
|
|
|
|
|
I can't. It doesn't recognise the namespace "RegularExpressions". As mentioned by PIEBALDconsult, "/r:System.dll" is needed.
|
|
|
|
|
I'd need to see how you're building the exe.
With CSC, references are done like /r:System.dll .
You can also use a response file like @"C:\build.rsp"
The .net directory that contains csc.exe should already have a csc.rsp file that it uses by default and it should contain system.dll so I don't see how you could be having trouble.
And please don't use text speak. Ever.
|
|
|
|
|
ok, "/r:System.dll" works
How do u include a response file @"C:\build.rsp"? type in cmd?
What does this mean: "And please don't use text speak. Ever."?
What is "text speak"?
modified on Friday, January 23, 2009 10:46 PM
|
|
|
|
|
Hi all , I'm a new member and this is my first participation .
I want to send sms message in my website , and I want to ask you
1- is sms free or I have to pay for each sms message
2- if it is free can I write sms send code in for loop , in other words can I send free smss to 100,000 cell phone or more .
thank you
|
|
|
|
|
|
SMS is pay per use through most web services. You can get bulk accounts.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
If you don't ask questions the answers won't stand in your way.
Most of this sig is for Google, not ego.
|
|
|
|
|
abouhin wrote: 1- is sms free or I have to pay for each sms message
No. Its not. You have to pay for each SMS. You can search/contact Bulk SMS Providers for that.
abouhin wrote: 2- if it is free can I write sms send code in for loop , in other words can I send free smss to 100,000 cell phone or more .
You can send SMS to as many people as you want, just you have to purchase that much of SMSs.
The Bulk SMS provider will give you the Documentation, to use their Web Service from your Application to send sms via Internet.
abouhin wrote: I send free smss to 100,000 cell phone or more .
100,000 is big number, otherwise you can find some cheap website which will allows you to send sms for free, but there is no privacy of phone numbers and they will not provide you a web service. you have to fill up the form manually.
|
|
|
|
|
I fall a problem.I have 2 forms. 1st form has listview which shows data from db and has a button which show 2nd form. In 2nd form i add data in database.
but I cant show updated data in listview (1st form )at runtime after add data from 2nd form.
How can i solve this problem
|
|
|
|
|
Events
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
If you don't ask questions the answers won't stand in your way.
Most of this sig is for Google, not ego.
|
|
|
|
|
The best answer on CP yet - why use x words when one will do! 5'd
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Heh agreed,
as for OP's question expanded a bit. Create an event like OnDataUpdate or DataUpdated to the button which tells the listview to reload its data.
|
|
|
|
|
I am Brazilian student that I come to developing a capture monitoramento project of video.
It would like help.
The project Is:
1- application owes communicates with a capture board of 4 video input.
2-visualize videos images;
3-and option of Registers the videos of the 4 video capture machines.
Already I tried varias formulas but did not get.
_It would like its help thanks!!!
Alex.(alex_xso@hotmail.com)
modified on Friday, January 23, 2009 12:54 PM
|
|
|
|
|
I'm relatively new to programming and this site so excuse me if this is not in the right place. I'm making a program where I think it would be particularly handy to be able to edit the source code files or create new ones. What would be the best approach to doing this? I thought about just making a base program that then runs a .dll that contains all the members etc., but thinking about it today I think that would create a lot of issues. Is there a way to build the .exe and have it contain all the source files, and then be able to extract them, edit them, or insert new ones and dynamically add them into the current running program?
|
|
|
|
|
You can use CodeDOM [^]to dynamically create the code, but the real question is why you need to do this?
Xandafergus wrote: handy to be able to edit the source code files or create new ones
Isn't that VS is for?
only two letters away from being an asset
|
|
|
|
|
I don't necessarily need to be able to do this, it's just that my computer is not exactly fast. It takes me longer than I would like to stop the debug process, enter my code, and then restart it. Also, I'm going to put this on other computers that do not have VS installed unfortunately...and I would like if I could edit this code from there without having to go through VS's long install process.
|
|
|
|
|
You need to address the issues you are facing in a different way. CodeDOM presents security risks and is very complicated, it's not designed as work around solution.
only two letters away from being an asset
|
|
|
|
|
That doesn't make any sense because if any of the source code for your program changed you would need to rebuild it and redeploy it and it wouldn't be feasible to do that on the fly. Maybe you want to create a scripting style language to allow your users the ability to program some functionality in that way.
Alternatively you could consider supporting some plug-in facilities.
ɹǝʌo ɹoʇıuoɯ ɹnoʎ dılɟ sıɥʇ pɐǝɹ ʇ,uɐɔ noʎ ɟı
|
|
|
|
|
Hello, Community!
I have a problem, that's driving me crazy for days, now...
I have a buffer[] that is filled with data(=WAV) from an external device (NOT a microphone!).
I want to stream the data as soon as a certain amount of data has arrived.
Could somebody, please, tell me, how I can do that (in easy steps!)?
I've tried nearly all the samples here or in the net, already. Most of them use sound files or a capturing device...
At the momemt I can set the SecondaryBuffer to a file, which works fine, but how can I set it to a MemoryStream, for example, and stream that? I would like to have something like that:
for (int i = 0; i < intIncomingDataLength; i++)
{
rawsamples[j] = (byte)fileStream.ReadByte();
if ((i>5000)&&(blPlaying==true))
{
MemoryStream mystream1 = new MemoryStream(rawsamples,0,intIncomingDataLength, true, true);
SecondaryBuffer snd = new SecondaryBuffer(mystream1, desc, applicationDevice);
snd.Play(0, BufferPlayFlags.Looping);
blPlaying=false;
}
}
But I always get an "Out of bounds" error, if the SecondaryBuffer is initialized...
I can't download the DirectX SDK in my office, due to company restrictions, either.
Any help is appreciated!!!
Thanks
Hans
|
|
|
|
|