|
ds.Tables["TableName"].Rows[number of row]["name of column"]
i dont know if you can refer to them by their numbers too.
hope i could help you, mike
|
|
|
|
|
|
Hi,
I want allow a user to click on a web update option and the program download itself into its update directory. The thing I want to achieve is to check the file version to see wether I need to download it or not.
Can anyone help here?
thanks.
Stephen
|
|
|
|
|
Hi,
I wanna to add controls in rutime depending on some coditions in a tab control that its pages is added dynamic (I amde that part).
I made all things to add that conrtols to tabcontrol but there is no errors and nothing is displayed.
Regards,
Hisham Galal
|
|
|
|
|
The commons things to forget when adding controls are
- calling control.Show()
- actually adding the control with tabPage.Controls.Add(control)
- moving and sizing the controls so that all of them can be seen
If your app does those three steps, please post the code that adds the controls. I really cannot read from your thoughts what's missing.
_________________________________
Please inform me about my English mistakes, as I'm still trying to learn your language!
|
|
|
|
|
I have a windows application that has textboxes. all i want to do is set the default writing language when entering a textbox to arabic and when the textbox leaves i want to return the writing langauge to default english.
any idea on how to do this?
|
|
|
|
|
I just cant figure outhow to couple the scrollbars of two listboxes. So thtat they move in sync, wheter i move one or the other.
How would i do that?
|
|
|
|
|
Hello,
Is it possible in VS.NET to make a separate dll's for images alone. What I want to do is to change images in a C# program by changing the image dll's, so you dont have to open VS.NET to do that. (kinda like changing languages in a C# program).
|
|
|
|
|
|
Thanks, is there anyway I can use a strong named shared assembly in a makefile.
|
|
|
|
|
I have now surfed quite a bit around the web but havent found a good tutorial or class to implemnt serial communication in a visual c# application.
Does anyone here has any tips were to start?
thnx, mike
|
|
|
|
|
|
Hai
I need a control like the properties window, solution explorer, etc.. in vs2003 ide.
which will be displayed and when mouse over and out.
Is it possible to use the existing control for our applications?
Is there any way?
Please Help!!!
|
|
|
|
|
|
Hello,
I have a user control with a panel which contains a checkedlistbox on it. I'm changing the controls sizes in the mousemove event, the problem is that it starts flickering. I have another user control which has a treeview instead of checkedlistbox and there is no such problem. So is the problem in the checkedlistbox control ? I used SetStyles with UserPaint, DoubleBuffer, AllPaintingInWmPaint for the user control but it didn't help. Any suggestions how to solve the problem?
Thanks
|
|
|
|
|
It seems flicker problem is a big disadvantage of C#, I developed a drawing tool using C#, It flicked terribly when drawing more figures. And I also use DoubleBuffer, AllPaintingInWmPaint. Its effect is not so good.
|
|
|
|
|
Hi,
I have another problem. The user control I'm using is shown in a grid cell. When I click the cell I set the sizes of the panel, checkedlistbox and the form so they fit in the cell. The strange thing is when I show the form if it is less than 112pxl it is set to them. I can't think what can cause this problem . Any ideas?
|
|
|
|
|
Dear all,
Does anyone has sample source code for audio wave file output through a DAC to speaker.
Please advise.
Wave file -> saved into SRAM/flash then memory is retrieved from a microcontroller and output to a DAC for conversions. After converting from digital to analog format, it will be output to speaker.
Please advise.Thanks.
|
|
|
|
|
hi guys,
i was wondering if anyone knows how to extract the file summary properties of a pdf document in .NET environment. Similar to right clicking a file then choosing properties and then selecting the summary tab.
Now microsoft does provide a dll called dsofile.dll for .net. But it does not read pdf file properties because its not an ole document. I have come across something called IPropertyStorage but this is also used in the dsofile.dll so thats no help to me unless i have misunderstood it.
Having given upon on that front, I ventured into looking up the adobe acrobat sdk 7. In the adobe acrobat sdk 7 and it mentions something about containing within the pdf file a metadata descriptor. This metadata is encapsulated in the document dictionary information within the pdf.
I have tried loading a few of the COM objects that comes with adobe acrobat reader but couldnt find anything relevant to extact with metadata information. Unless i have overlooked something, have i ?
Anyone have any ideas as how one could extract this meta data information using .net ?
At the moment i am totally stuck so i would very much appreciate it if anyone could throw any other ideas as how i can read pdf properties.
thanks
|
|
|
|
|
All of this code is IN THE SAME PROJECT. What am I doing wrong?
WinForm -> I have created an event handler for my "Add" button control.
I then added a generic class to the project "MyClass" with a constructor that takes a (private) int x with Set and Get properties.
OnButtonAdd
{
WHAT DO I NEET TO DO TO INSTANTIATE "MyClass" so the Win Form "sees" it??
}
Namespace problem? Parameter args wrong?
thanks in advance...
|
|
|
|
|
Does it not compile, or is intellisense just failing ? Have you typed in the full namespace to the class, to see what happens ? I take it you mean the int that goes in gets put onto a private variable with get and set properties ?
The WinForm won't 'see' the class instance for any longer than this method call, unless you're passing it's instance into an ArrayList or something.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi, a form inherit System.Windows.Forms.Form,I hold up "WM_NCPAINT"、"WM_SIZE" and Draw caption.But if the form has a mainmenu,it't not drawed after the form minimize and display.
How to do?
thanks..
|
|
|
|
|
|
Hi,
I think I am not sure how to set the docking properties in an application may be.
I am using the ShellControl control [^]which was written by Senthil. I have created an application and I am using a splitter in this application and pn the right side of the application is a tab control for displaying one treeview and one listview.(it is still not there in the application though) My Problem is that I am not able to fix the width of the different parts. I want the table control be the 1/3 of the application window and the shellcontrol window be 2/3 of the width. How I do it? Because when I maximize the application window, the application looks funny. You can find the application I wrote here.
http://web.ics.purdue.edu/~amohanty/4_ShellControl.zip
Also, I want to add the opacity property to the ShellControl[http://www.codeproject.com/cs/miscctrl/shellcontrol.asp] control. How do I do it? Senthil has not set the opacity property. I want my application to look little cool. So I want to have the opacity, which I can control. I guess it is possible to control the opacity of the elements of an application, which doees not affect the opacity of the whole application window.
|
|
|
|
|
Any help available Christian?
|
|
|
|