|
hi i want to expand and shrink the panels in my application whil runtime how i can to achive that
pls reply early
with regards
Balagurunathan.B
|
|
|
|
|
As I said in your last post on this topic
"Could you clarify what you want? Do you want to give the user the option of sizing them, should they resize with the form. If you just want them to get bigger or smaller when the form changes size try using the anchor property."
Shrinking and Expanding isn't specific enough. You'll have to be more specific in what your needs are.
|
|
|
|
|
I'm not sure if this is what you wanted but...
Say you have a panel named Panel1 . To resize this panel until it was 1 wide.
To do it slow and progressive:
Do until me.panel1.width = 1<br />
me.panel1.width -= 1<br />
loop
Alternatively...
To do it faster:
Do until me.panel1.width = 1<br />
me.panel1.width -= (me.panel1.width - 1 )/10 <br />
loop
If this is wrong, please try explaining yourself in full structured sentences, it makes it alot easier to help. please don't assume we have any idea what you're trying to do.
Posted by The ANZAC
|
|
|
|
|
Hi,
I'm exploring XML for the first time with VB.NET 2005 Express, and I'm having trouble with something.
The project is an Exchange Rate database, and the data I'm working with is the Country, Currency, Exchange Rate, From Date, To Date.
I'm reading in a Word document containing the required data, extracting relevant data from it, putting it into a DataSet, and presenting it in a DataGridView, and saving the content to an XML file.
This is fine.
What I then want to do is read in a different Word document, extract similar data, put it into the same DataGridView as the first 'import' (i.e. clear any existing content), and when I press Save, add the newly imported data to the first XML file (also saving any modifications the user has made in the DataGridView)
I'm thinking that I need to open the original XML file, put its content into a DataSet, loop through a new DataSet containing the newly imported data, and append the new data to the original data, and save it again - but I don't know how to do this.
|
|
|
|
|
hi,
i m calling crystal report frm my vb.net(winforms) form.
my report contains 1 subreport & both main & sub report contains the parameter, on which record selection depends.
it is ok with my code to pass value to main report. but tell me please how to pass parameter value to subreport?
i m passing parameter values by following code-?
Dim myReport1 As New CRptTimesheetPerEmp
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldDefinition As ParameterFieldDefinition
Dim crParameterValues As New ParameterValues()
Dim crParameterDiscreteValue As New ParameterDiscreteValue()
crParameterDiscreteValue.Value = frmTimeSheetRpt1.cmbEmpId.Text
crParameterFieldDefinitions = myReport1.DataDefinition.ParameterFields
crParameterFieldDefinition = crParameterFieldDefinitions.Item(0)
crParameterValues = crParameterFieldDefinition.CurrentValues
crParameterValues.Clear()
crParameterValues.Add(crParameterDiscreteValue)
crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
CrystRptVEmpTimeSheet.ReportSource = myReport1
"The Difficult i can do it now...
The Impossible will take a little longer."
|
|
|
|
|
its easy to set parameter in the crystal report rather than passing the parameter to subreport through coding
jus try this
first take a parameter as a field in the crystal subreport
and link the subreport to the original report
u can simply do that by right clicking on a subreport
and establish a link
|
|
|
|
|
Hi frnds,
i need text editor which can be used in Windows form
as it shld not hv any link to MS Office 'cos at clients end
there will be no MS Office installed
so anybody knows abt third party text editor which is independent and shld work in windows form
plzzz reply as soon as possible
thnxs
|
|
|
|
|
hi friend i am also insearch of that only if u u find kindly inform me
if i found i will tell u
my mail id is gurunathan.bala@gmail.com
with regards
Balagurunathan.B
|
|
|
|
|
|
what kind of editor want you?, i use notepad++, this editor has colored code functions to several languages, i can open severals documents in itself editor using tabs, very good editor and free http://notepad-plus.sourceforge.net/
|
|
|
|
|
I believe there is a text editor available, including source code on code project. This may be of some use and could be adapted to your needs. It deals in Rich Text Format and therefore can handle images and would be cross-compatible with word if it ever needed to be.
http://www.codeproject.com/vb/net/WordProcessingPackage.asp
Posted by The ANZAC
|
|
|
|
|
Hello, I'm not sure whether my question is relate to programming or operating system. Here is the information and what I need to do:
I have a computer with MODEM to connect to an internet. I want to check it when my modem is connect and disconnect from an internet. I do not know whether this information is record in event viewer or not. If not, i might need to write my own application to check the connection acitivity. I prefer to write in vb.net 2005. But i do not know where could i start. I need a document to read about vb.net 2005 and dialup connection. If anyone know any web resource which relate to use vb.net 2005 with dialup connection?
|
|
|
|
|
You want a program to see if your modem is connected and then to disconnect it?
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)
|
|
|
|
|
CleaKO wrote: You want a program to see if your modem is connected and then to disconnect it?
Yes
|
|
|
|
|
Can anyone help in creating a Windows service in Vb.net or C# for sending Mails.. And also help in intalling the same ..
Thanks n Regards,
Uma Shanker
|
|
|
|
|
|
Many thanks to Johan. I hope this site is for sharing knoweledge..
And i hope u are aware of that...
Anyways thax for your help
umashanker.k
|
|
|
|
|
|
Thanks for the clue you gave me it really help me in debuging the programme.The problem is solved.
Thanks and God bless.
Ademola
|
|
|
|
|
Adekolurejo wrote: Thanks for the clue you gave me it really help me in debuging the programme.The problem is solved.
Thanks and God bless.
Ademola
It's customary when thanking somebody to actually post this back against the original post. That way, everybody knows what Dave has done.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
pls have a look at queries posted by me
with regards
Balagurunathan.B
|
|
|
|
|
balakpn wrote: pls have a look at queries posted by me
Why? I'm confused. What is your involvement?
|
|
|
|
|
How to change the datagrid headers at runtime?i.e to make the font bold of the headers , and also increase the size of font at runtime
HI
|
|
|
|
|
datagrid1.Columns(0).HeaderText = "your text" ' change text to one column
datagrid1.Columns(0).Width = Size ' change size to one column
datagrid1.ColumnHeadersDefaultCellStyle.Font.Bold = True ' change bold to each columns, sorry but i don't know change the bold to one column
|
|
|
|
|
Hello,
I have a maskedTextBox and have set a custom format for inputting an IP Address.
Custom format ###.###.###.###
And have used the string replace(" ","") to remove any white spaces.
However, the dots do not come out after the user has entered the IP address
for example 12.123.566.54
Will come out like: 1212356654.
Does anyone know a better way to do this.
Many thanks for any suggestions,
Steve
|
|
|
|