-
- Deploying files
by Mr. Javaman
- 1 Replies
- Last post
by .NETPhreak
- What's the best way to add an HTML file to a project, then ensure that it can be found after the project is deployed
Environment: C# Express
Project Folder Root contains
Bin folder, Properties Folder, Resources Folder, HTML file and XML file
When in debug mode everything runs fine...
When I deploy the solution (one click install), the HTML file cannot be found.
-
- regarding the application size
by mohasad
- 6 Replies
- Last post
by TilakGopi
- hi , i have been in the development of Smartphone game applications. after the creation of the setup file for my application , the size of the setup is around 500 KB . is dis creates any problem, or it is ok to run on the device . thanks sadiq
-
- How to remove CRLF(13,10) from a Byte array
by ranadheer mac
- 5 Replies
- Last post
by Oleg Ignatov
- i have a ByteArrayOutputStream with the following content [13, 10, 45, 45, 95, 78, 101, 120, 116, 80, 97, 114, 116, 0] i have to check whether my stream contains a Empty Line(CRLF) which is represented by 13,10 at the begining. if it is there i have remove that 13,10. any body please help me out in doing this regards ranadheer
-
- stop if's
by Quarinteen
- 12 Replies
- Last post
by Kea
- Ok I have a buch of if statements that execute when a button is pushed. in the for there are a bunh of check boxes. I want to make it to where if one particullar check box is check and there are other boxes checked it will ignore the rest of the if statements thanks for the help
if (checkBox2.Checked == true || checkBox3.Checked == true && checkBox1.Checked == true)
{
// thi
-
- userControl question
by ashk1860
- 2 Replies
- Last post
by Figo Fei - MSFT
- hi
I have created a userControl with several properties and I have all of them in properties panel. how can I make groups and order them in groups
-
- Simple versioning
by fuddy
- 4 Replies
- Last post
by fuddy
- Hi,
I have a VS addin project and want to add version information on it.
I created a key file and chose it in the properties of the project. Then I modified the AssemblyInfo.cs:
[assembly: AssemblyVersion ( "4.3.2.1" )]
I want the assembly and file version to be set to 4.3.2.1
But after compilation, I see in the properties of the .dll that these attributes are still 0
-
- Microsoft Excel Editing and Save
by msksurfer
- 2 Replies
- Last post
by msksurfer
- Sorry if i'm in the wrong part of the forum but i can't find the folder for Visual C# interop. I'm currently facing a problem with the editing and saving of a excel file. i've created a web page with a datagrid. the data from the datagrid is taken from the excel in the server. upon updating the edited part, the datagrid updatecommand will only provide data of the selected row. and i tried to save
-
- How do I convert a 1 dimentional array to a multidimentional array?
by Neil19533
- 2 Replies
- Last post
by Neil19533
- Hello, im having some trouble converting an array to a multidimentional array, the code I have used is below. The trouble with it is, when you times any number by 0 it will always be 0 so (0,1)(0,2)(1,0) ect will always be the first item of the old array. does anyone know how this can be solved Thanks in advanced
for ( int i = 0; i < 257; i++)
{
for ( int j = 0; j < 257; j++)
-
- Search link ?
by iLyas.Osmanoglu
- 2 Replies
- Last post
by Siberzeka
- how can i found only links in text file
-
- Setup project for an IE BHO
by Leon Mayne
- 6 Replies
- Last post
by Leon Mayne
- Dear god, never before have I been so frustrated with a problem! I think I've spent more time trying to get my installer working than I have on the project itself!
OK, so I created an IE browser helper object, which works perfectly fine if I register it on any machine using regasm /codebase my.dll, but I can't for the life of me get this to work in an installer. I've tried both a Visual Stu
-
- Use a string to create an object?
by allison_h
- 4 Replies
- Last post
by Figo Fei - MSFT
- Hi,
I am passing in a string as the condition to a filter
"FilterComparisionOperator.Equals"
how do i create the FilterComparisionOperator object so this will work
FilCon.ComparisionOperator = FilterComparisionOperator .Equals;
Thanks.
-
- Difference between these two casting
by Navaneeth
- 5 Replies
- Last post
by TheCPUWizard-2007
- Hello, What is the difference between
Code Block
int a = (int)Othertype; and
Code Block
int a = int.Parse( Othertype );
-
- converts a char into a string
by JaK82
- 11 Replies
- Last post
by Matthew Watson
- Hi All,
How would I convert this
string bleh = "hello world";
inputString = "r"
if (bleh == inputString)
{
blah = inputString;
}
The error message I get is
Error 1 Operator '==' cannot be applied to operands of type 'char' and 'string'
Much help appreciated
-
- Console App: sending a series of commands
by awj100
- 8 Replies
- Last post
by awj100
- I wonder if anyone can help me in building a console app to run a 3rd party app's console interface
I have an application which can be executed from a console interface. Firstly I have to navigate to its parent folder, then I have to enter a command with switches. Something like this:
C:\Parent_Folder>ConsApp.exe -a TestFile.doc -b TestOut.doc
I've tried building this by implementing t
-
- Class names not being highlighted.
by Kris Kramer
- 9 Replies
- Last post
by Kris Kramer
- This is probably a fairly easy question, and it might belong in a VS forum somewhere but I couldn't find a VS - General forum here. So since I'm coding in C#, I'll try here.
I opened VS today and one of my files no longer has the class names highlighted in light blue. It still builds, the site works and everything, but VS doesn't seem to recognize any of the classes or references on that one pa
-
- How to connect a custom hardware
by Vikasumit
- 5 Replies
- Last post
by Vikasumit
- Hello,
I am looking to create a application, that will communicate to hardware that is connected to USB port. Actually our client has send us a hardware device, that has USB port that attach this hardware with computer system. Our new hardware has its own keys/button to press when our software application send singal to its LED or speakers.
Now what I want to figure out is that how can
-
- Strange syntax, need explanation of what this does...
by ubsman
- 2 Replies
- Last post
by Anu Viswan
- Here is the code:
public FtpClient( string aServer)
:
this (aServer, "anonymous" , "pass@word.com" , 21)
{
}
What I need to determine is what does that colon do, and how would this be re-written in a different way. Like dummy it down a bit
-
- Reflection: define get and set dynamicaly
by ijrr
- 3 Replies
- Last post
by Brendan Grant
- Hello,
How do I define get and set methods for properties dynamicaly
Maybe with PropertyBuilder, but I didnt find any sample.
Thanks.
-
- Attenuating SoundPlayer Volume
by AlexBB
- 10 Replies
- Last post
by AlexBB
- I use SoundPlayer to punctuate long file downloads and other processes and give me sound cues of the app state in broad sense. One problem I have now is that the volume is so loud that after a long pause it might frighten me a bit with some sounds. Manually adjusting volume in SoundPlayer 10 does not seem to help.
I cannot get a hang of it although I tried numerous inroads. SendKeys.Send ( &quo
-
- IntelliSense: Inject additional comments into Parameter Info pop-up dynamically.
by univercity583303
- 4 Replies
- Last post
by univercity
- Say we have a function called Sum(int a, int b). When the mouse is hover over the input parameter a or b, I want to inject a restriction/ description of the parameter into the pop-up (IntelliSense) dynamically. Is this possible to do Thanks in advance!
Work in Visual Studio 2005 environment using C#.
-
- Background color of a bitmap
by Oscarfh
- 3 Replies
- Last post
by Oscarfh
- Hi,
I'm drawing bitmaps: I drew a chart and saved it to a jpeg file. But when I open it, my jpeg file has a black background, why is that
Thanks
-
- IDE error message
by mcclean
- 1 Replies
- Last post
by mcclean
- Hello all,
I am trying to install the source for our project on a new PC and am getting an IDE error message.
The code consists of a custom form & custom controls in a .dll. The application then derives an inherited form from the custom form class.
If I double-click on the application form to edit it, I get an ide error message starting with "the designer could not be shown"
-
- Use function from DLL file
by YMaod
- 12 Replies
- Last post
by Michael_Grumbach
- Hi,
I'm a beginning C# programmer and I'm writing an earlier written program(c++) in C#.
I have a DLL file called K8062D.dll which has following functions:
StartDevice Opens the communication link to the K8062 device
StopDevice Closes the link to the K8062 device
SetChannelCount(Count) Sets the maximum DMX channel in use
SetData(Channel, Data)
How can I call these
-
- Thread Problem
by Cameron D
- 8 Replies
- Last post
by IsshouFuuraibou
- Hi, I am having some problems using threads, I can create it, start/pause/resume... but I can't abort me thread to end my program. The thread sits there after I call the Abort() and then Join() and my program freezes. If it helps: here is the code in the thread:
Code Snippet
public void Listen() { IPAddress ip = IPAddress.Parse("192.168.1.100"); TcpListene
-
- What's the difference between && and &?
by Azurewrath
- 3 Replies
- Last post
by Azurewrath
- Same for || and |
Thanks alot,
aw