Cowski's Q&A profile
Visual J# How can i convert integer number into hexadecimal in J# ?
Hi This the first time for me at this forum, and i want to get started with a question How can i convert integer number into hexadecimal in J# Regards Younis Hi Younis, You can try using Static method of java.lang.Integer class: toHexString(int) Signature: String java.lang.Integer. toHexString(int) Example: System.out.println( java.lang.Integer .toHexString(1122)); Output: 462 Varun Visual J ...Show All
Visual Studio Express Editions Problem with free ebooks
I complete the activation process, two weeks ago, but i don't receive any e-mail with information about how to download the ebooks, if any have the same problem and know any email where i can get more information please let me know The instructions don't work. When I Click the activate product under Help to activate the product, it says, " the product has already been activated" ( a pop up window" thanks ...Show All
Windows Forms Calculate Width of a String in Pixels
hallo, Given a Font and a string, is there any ready-to-use function in .NET which can compute the resulting width of the string in pixels So that I can adapt say a Label, MenuItem or Textbox to the new size of a string. thx, Steve ...Show All
Software Development for Windows Vista Beta 2 and IIS
I have installed and am running beta 2, But I need IIS running, how do I do it I have not yet installed VS, will that add IIS for me This should help: http://www.iis.net/default.aspx tabid=2&subtabid=25&i=957 ...Show All
Windows Forms Date Entry with a Data Grid
Hello I am developing an application with Visual C++.NET, that use a datagrid to acess a database, but when i try to make it change the database when you change the datagrid is gives me an error. I am using the following code: private : System::Void dataGrid1_CurrentCellChanged(System::Object * sender, System::EventArgs * e) { this ->sqlCompaniesAdmin->Update( this ->dsCompaniesAdmin); } I would like to know if anyone knows how c ...Show All
.NET Development Cryptography - I'm new to it and confused!
Hi, I have a basic - very basic - understanding of Cryptography but I'm having trouble with design and code. My goal is to create an encrypted string and store it in a file so other applications can read, decrypt and use the data. I want to use the RSACryptoServiceProvider to accomplish this task. I have written (used most of the code from msdn library ) a little utility that will encrypt the data but when I try to decrypt the data, ...Show All
Windows Forms why does the datagridview think my cell value has changed when it hasn't?
I have implemented a routine to catch the CellValueChanged event, but it fires when I move off the cell whether it has changed or not (I have editonenter set). I have tried putting a check in the eventhandler to compare the FormattedValue with the EditedFormattedValue and it says they're not equal when they are! Please help! Thanks in advance! Lesley I've not seen this. Can you provide more info If this is no lo ...Show All
Windows Forms datset
Hi, I receive a dataset from webservice which I then use to populate a datagrid on windows form. The user can then make changes in the datagrid on the windows form (i.e. add, delete or update a record). Can I then have a button which basically takes the data in the grid (i.e the datset) with the changes and pass it back to the webservice Would you say that I am on the right track if I use dataset.HasChanges ... Thanks ...Show All
Visual C++ is it possible that a cpp file will "recognize" a c file from another project ?
Hi everyone, I have a console application project which I wrote in c , this project uses the lame encoder written in C. Now my Boss has asked me to rewrite this project in c++, unfortunattelly after I turned each c file into cpp file , I got linkage errors since apparently the c++compiler of visual studio 6.0 doesn't recognize the c code of the lame project. any idea anyone what I should do next regards, Uri ...Show All
SQL Server export to excel: i get blank with the report name?
when i do export to pdf works fine but when i do export to excel then i dont get any data in the excel sheet... i get blank with the report name any idea thanks ...Show All
Visual Studio Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll
My VB .Net Windows application using SQL Reporting runs fine on my development machine. But when I deploy it to a user's machine and try to run a report, I get the message: Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectModel.dll This file is in the GAC on my machine, but not on the deployment machine. I tried installing SQL Reporting Services on the deployment machine, but that didn't resolve the problem.&nb ...Show All
Visual Studio cannot add code behind files
I have created a new project template and it includes a custom webusercontrol. It is a custom control because I have added code to the associated code behind file. When I add the custom code behind file to the project using the AddFromTemplate, I get a message that the file already exists etc... The code behind file does exist because Visual Studio added it when it added the ASCX file. Ideas anyone If I have custom code behind files, how ...Show All
Visual C# How to change the color of a substring?
for example: string newStr = "The color is red"; label1.Text = newStr; output: The color is red Hi icemart525 you want this to work in Web Application or Desktop Application Rags ...Show All
Windows Forms Is it possible to hide the top part of the tab
I have a tab Controls with different tabs is possible to hide the top part of it,this is the part where the text of the tab appears. Thanks as usual Yes it is panel ,however for what I need to use it a tabControl is more appropriate.and it will save some coding too. The scenario is this, TreeView On the left and tab Control on the right. Depending on the item in the treeview that is clicked ...Show All
Windows Forms Embedingg Excel Sheet On Windows form
I am using windows forms 2.0.My requirement is, that i want to have an excel sheet on a form which will be filled based on user actions(eg on choosing an item from combo box a cell in sheet will be filled) ..i am using visual c# express for development..whats the best way of doing this what r my options,besided using excel sheet I used tablelyout panel,to make a structure like excel sheet...but it flickers a lot thks vishy You mus ...Show All
