Forum: VB.NET 1 Day Ago |
| Replies: 4 Views: 181 The DLL tab appears with the source code? How are you deploying the application? Do you have the source code for that DLL on the machine you are running it on? Hover your mouse over the tab and it... |
Forum: C# 1 Day Ago |
| Replies: 10 Views: 269 >> I have done a good amount of research and I'm still unable to determine how I can perform real emulation of a joystick.
What I found on the web was using the mouse movements to simulate a... |
Forum: Shell Scripting 7 Days Ago |
| Replies: 11 Views: 518 Well the script I gave you was for bash. I don't know csh scripting syntax so i'm afraid I cannot be of much help. |
Forum: Shell Scripting 7 Days Ago |
| Replies: 8 Views: 398 I don't understand your question. Try to ask it again and please use code tags when posting code on daniweb. It converted half of your paste to emoticons and was very hard to read:
...text... |
Forum: C# 9 Days Ago |
| Replies: 5 Views: 197 ZIP it and upload the zip. |
Forum: Geeks' Lounge 9 Days Ago |
| Replies: 3 Views: 262 I also vote for subversion because it is the best. You can also integrate your svn repository with websvn using webdav on apache to do commits over HTTP. You can also hook up Trac... |
Forum: Shell Scripting 9 Days Ago |
| Replies: 8 Views: 398 What version of bash are you running? The script is designed to make you re-enter the line number if you enter a non-numerical value, or, if you enter a line number longer than your file. Type set at... |
Forum: Shell Scripting 9 Days Ago |
| Replies: 5 Views: 327 That looks strikingly similar to the code Aia provided :P
Please mark this thread as solved if you have found an answer to your question and good luck! |
Forum: Shell Scripting 9 Days Ago |
| Replies: 3 Views: 280 Main script (main.sh):
#!/bin/bash
/tmp/daniweb/s/f1.sh
/tmp/daniweb/s/f2.sh
/tmp/daniweb/s/f3.sh
f1.sh: |
Forum: C# 9 Days Ago |
| Replies: 5 Views: 197 Upload the access database you are working with. |
Forum: C# 9 Days Ago |
| Replies: 9 Views: 305 Use the listview. Notice how in windows explorer you can use icons, details view, column view, etc. You can do the same thing with a listview.
Someone on code project has authored an icon... |
Forum: C# 9 Days Ago |
| Replies: 6 Views: 287 That industry is in the toilet ... I hope you don't expect to get paid! :P
As far as what technology to use that depends on your customers demand and what you want the application to use. Also the... |
Forum: C# 9 Days Ago |
| Replies: 11 Views: 352 Upload a sample of your project, or at the very least post the designer and code file for the form in question. There are a lot of things that can go wrong, by simply being different, in grid setups.... |
Forum: Shell Scripting 9 Days Ago |
| Replies: 11 Views: 518 The script worked fine on my end.. what version of bash are you running and what distro/version?
As Aia said there may be a problem with the spacing so also post the code you used. |
Forum: DaniWeb Community Feedback 9 Days Ago |
| Replies: 22 Views: 932 This morning:
Now:
So one new person cast a vote .. and 28 posts went down. Someone had a busy morning :)
I suspect if this were looked in to you would find Rashakil Fol behind it. The... |
Forum: C# 9 Days Ago |
| Replies: 21 Views: 748 I don't get "butthurt". I just get tired of watching you post and complaining about what other people say, -rep them, down vote them, and generally antagonize people because you want to be an ass... |
Forum: Shell Scripting 9 Days Ago |
| Replies: 8 Views: 398 Tell your professor uuoc (http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat) :P
#!/bin/bash
get_file()
{
inp_file=""
while ! test -f ${inp_file} || ! test "${inp_file}"
do |
Forum: DaniWeb Community Feedback 10 Days Ago |
| Replies: 9 Views: 542 Amazing. I had a post quality score of %95 last night and its %92 this morning. Perhaps it had something to do with this post (http://www.daniweb.com/forums/post1043146.html#post1043146). Anyhow i'm... |
Forum: Shell Scripting 10 Days Ago |
| Replies: 8 Views: 398 So ... what is your question? |
Forum: C# 10 Days Ago |
| Replies: 2 Views: 237 What I do is embed the CREATE TABLE statements in the application. When it connects to a database it runs a test to see if the "SystemReg" table exists where I store system information related to... |
Forum: Windows Servers and IIS 10 Days Ago |
| Replies: 6 Views: 293 That sounds like an OK setup to me. I don't see any glaring security issues. VPN + sftp is a secure file transfer mechanism. If you are comfortable with the physical security of your servers and are... |
Forum: C# 10 Days Ago |
| Replies: 11 Views: 549 No problem. I'm glad you got it working :)
Please mark this thread as solved if you have found an answer to your question and good luck! |
Forum: C# 10 Days Ago |
| Replies: 21 Views: 748 Rashakil,
Why do you even bother talking? Half of the time you aren't contributing anyways. The OP is the only person qualified to answer the question of "did the solution work for me?" They are... |
Forum: C# 10 Days Ago |
| Replies: 11 Views: 549 Upload your project man. You haven't been giving me complete answers for this whole thread :(
Where is the code that inserts the byte array in to the sql server? where is the code that writes the... |
Forum: Windows Servers and IIS 10 Days Ago |
| Replies: 6 Views: 293 >>One thing that is commonly said by him and you is that "if someone breaks in to IIS and gets administrative access to the server they could get at all of the websites". But as you mentioned its... |
Forum: C# 10 Days Ago |
| Replies: 11 Views: 549 That depends on how the data was originally stored in to the SQL Server. Are you putting the text there? If so please post the code. |
Forum: Windows Servers and IIS 10 Days Ago |
| Replies: 6 Views: 293 Those are abstract concepts at best and without seeing the actual hosting agreement and contract its not possibly to answer your question to the depth you require.
It sounds like your IT guy is... |
Forum: C# 10 Days Ago |
| Replies: 9 Views: 255 Oh and be sure to keep in mind that .NET assemblies can be decompiled using reflector. That being said you need to hide what you are doing with the encryption:
* Put the initialization vector and... |
Forum: C# 10 Days Ago |
| Replies: 9 Views: 255 I don't believe windows media player or most other video players support rendering a video from a managed .NET stream. Due to the large size of files they usually buffer internet streams to temp... |
Forum: C# 10 Days Ago |
| Replies: 9 Views: 227 Thanks Ryshad. That is indeed what I was trying to do :)
crazyboy -- Please update us on the cause and solution to your issue. I am curious as well! ;)
Also please mark this thread as solved as... |
Forum: C# 11 Days Ago |
| Replies: 9 Views: 227 Change your code to this:
string PathName = @"C:\" + FileName;
Console.WriteLine("Path: '{0}'", PathName);
FileStream fs = new FileStream(PathName, FileMode.Append,... |
Forum: C# 11 Days Ago |
| Replies: 11 Views: 549 Impossible. From your earlier code example you showed us this:
byte[] myFile = Encoding.UTF8.GetBytes(richTextBox1.Text);
richTextBox1.Text returns the unformatting string of words in the RTF... |
Forum: MS SQL 11 Days Ago |
| Replies: 1 Views: 308 This should do the trick:
IF OBJECT_ID('test_Customer', 'U') IS NOT NULL DROP TABLE test_Customer
GO
Create Table test_Customer
(
id int identity(1000, 1) PRIMARY KEY,
Surname... |
Forum: MS SQL 11 Days Ago |
| Replies: 3 Views: 410 I don't think you can do backup/restore on UNC paths. You should look in to mapping a drive for that share on the SQL Server. |
Forum: ASP.NET 11 Days Ago |
| Replies: 3 Views: 310 You're welcome
Please mark this thread as solved if you have found a solution to your issue and good luck! |
Forum: Shell Scripting 11 Days Ago |
| Replies: 11 Views: 518 This should do the trick:
#!/bin/bash
find /tmp/ -type f -mtime +1 -exec echo {} \; > outfile
cnt=`wc -l outfile | awk '{ print $1 }'`
if [ ${cnt} -ge "1" ] ; then
cat outfile |... |
Forum: Shell Scripting 11 Days Ago |
| Replies: 5 Views: 336 I'm glad you got it working ;)
Please mark this thread as solve as you have found your solution to the issue and good luck! |
Forum: Shell Scripting 11 Days Ago |
| Replies: 5 Views: 327 Why not use grep?
sk@svn:/tmp/daniweb$ npname="part"
sk@svn:/tmp/daniweb$ egrep -vi ".*${npname}.*in.*" parts.txt
sk@svn:/tmp/daniweb$ npname="part part"
sk@svn:/tmp/daniweb$ egrep -vi... |
Forum: C# 11 Days Ago |
| Replies: 9 Views: 227 Also post the full exception message you receive. When you post your code be sure to use code tags:
...code here... |
Forum: C# 11 Days Ago |
| Replies: 11 Views: 549 If you write the byte content of the RTF directly to disk (bypassing the SQL Server) and open it with word do you receive the same formatting message when opening the document? I suspect that you... |