|
in my project i would like to take the values if they satisfy the condition for example if type rate 250 then it will show lot number (4,5) rates are 100,150 like that how to do is there any other way
|
|
|
|
|
I'm not even sure what you're asking, but it sounds straightforward to me. That is, it sounds like you're describing a basic business rule ( albeit not very well ). What do you need to know ?
Christian Graus - C++ MVP
|
|
|
|
|
I need code to find the matching of those numbers now i want to know is it possible to use one data reader over multiple commands
|
|
|
|
|
hi
I created a program in VB 6.0 with MS SQL and Crystal Report 8.0.1.0 on Win 2000 Adv
In network systems are WIN XP
when i instaled this program in other xp systems
and My MS SQL database is located on a remote server
this error apeared
connection error and ...
my code is:
Set cn = New Connection
cn.CursorLocation = adUseClient
cn.ConnectionTimeout = 60
cn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI ;Persist Security Info=False;User ID=;Initial Catalog=db2;Data Source=10.0.0.128"
Set rstel = New Recordset
Dim ST As String
ST = "SELECT distinct city FROM table2 "
rstel.Open ST, cn, adOpenForwardOnly,adLockReadOnly
please help me
-- modified at 3:22 Thursday 23rd November, 2006
|
|
|
|
|
How to use progress bar in vb.net
how to customize it...........
ahmad.osama1984@gmail.com
|
|
|
|
|
progree bar usage is the same as vb6
Max,Min and value are properties that you need more.
other properties and their work are available in MSDN
what do u mean by "customize"?
the best way to customize a control is making a new one.
or a class inherited from that control
|
|
|
|
|
move from one cell to anather cell it shoud display incremented value by 5 at runtime in the second cell of datagrid
Ganesh
|
|
|
|
|
Do u want to ask anything?
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
in datagrid, While tab key press it should increment by 5 (of the value in current cell}into the next cell how?
|
|
|
|
|
good day again everyone....
anyone of you can help and ur help is very highly appreciated.
how to get a value from an array, to display the result to in the textbox control.
ex: tempArray()
textbox1.text = tempArray() ''' this code produces error
anyone can help me with this... pls i need your help very badly.... th:-Dank you
nothing is impossible.....
|
|
|
|
|
HEHEHEHE i already got it... thank you for your attemp... it just came up to my mind....
tnx tnx tnx
nothing is impossible.....
|
|
|
|
|
hi,
how to use Excel as backend.
i have to save each days information into one Excel file.
ie. entering name, age,address and phone no fields and when we click save button all these fields saved in one Excel file. one Excel file for each day
can u help me
|
|
|
|
|
you have to quit excel file after you click Save
XLapplication.quit
and using a loop u have to change its name
e.g.
i+=1
excelfileName= "File"&str(i)
|
|
|
|
|
I used the code below, but it not work for RichTextBox
Dim selStart As Integer
Dim srchMode As Microsoft.VisualBasic.CompareMethod
Try
selStart = InStr(rtbSource.Text, txtFind.Text, srchMode)
If selStart = 0 Then
MessageBox.Show("Can not find """ & txtFind.Text, "Khmer Web Browser", MessageBoxButtons.OK, MessageBoxIcon.Information)
Exit Sub
End If
rtbSource.Select(selStart - 1, txtFind.Text.Length)
rtbSource.ScrollToCaret()
Catch ex As Exception
End Try
................
|
|
|
|
|
|
I'm trying to save Outlook 2003 Calendar attachments in my local drive using VB.NET but without success.
Can any one help?
Thanks
Sbr
|
|
|
|
|
Hi guys,
Am writen an application that the result for the form is preview with crystal report. In crystal report I create a OLE DB connection to the database. when I deploy the application it is looking report database on the machine that it was develope. example of code:
Dim path1 As String = My.Application.Info.DirectoryPath '' path
'' change path of the database
report.DataSourceConnections.Item(0).SetConnection("", "" & path1 & "\db.mdb", False)
review and give me ur feed back, even it there is a better way to bind the report i would gladly accept
thanks
|
|
|
|
|
At design-time put all your reports and mdb file into your application folder and make sure you access them using "Application.Startuppath" or ur "Application.Info.DirectoryPath" during development.
Ensure that you package all your reports and mdb file into the application folder (as hidden file preferably) during deployment.
Let me know hoow this helps u.
cheers
S.S.O
|
|
|
|
|
am not sure if i understand what is happen but some how all u guys advice i have tried. can u plz tell me how to bind a crystal report to visual studio 2005, when the crystal connect to the database via OLE DB.
Thanks
Ricky
|
|
|
|
|
I don't think the issue of connection engine matter if your application is using same connection to the database.
create a new form say frmCrystal and add the CrystalReportViewer control on the form. Don't set the reportsource as design but set ur Reportsource at runtime to the report you want to display.
example:
Private Sub frmCrystal_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
rptViewer.ReportSource = Application.StartupPath & "\rpt.rpt"
End Sub
All the best.
SSOnuh
|
|
|
|
|
How could I make a transparent button so that it is not shown in a vb. net form, but I should be able to click it on its current position?
cezzzar
|
|
|
|
|
By setting the .Opacity value. You'll have to set it to 1, and not 0. If you set Opacity to 0, the button kills itself and is no longer usable.
I'm sorry, excuse that answer. .Opacity is not a property of the Button. I don't believe you can do this with the native .NET button class. You may have to use an image-replacement, or write a new button class that inherits from a .Opacity-enabled base-class.
More Information:
1. http://www.codeproject.com/buttonctrl/EasyTransparentBut.asp
Jonathan Sampson
www.SampsonResume.com
|
|
|
|
|
I would use a panel with no border and transparent background color, and use the panels click event. This way it will be invisible, but clickable. I just tested this and it worked fine.
Posted by The ANZAC
|
|
|
|
|
Hi all,
I am in need of some help, and I think what I'm trying to do is fairly simple, I'm just messing up somehwere.
I'm basically trying to play a video in vb.net. I've found a way to embed a windows media player into the form and have also gone to properties and set the URL to the video i want it to play......However when i go to debug it, i keep gettng build error messages, after selecting 'yes' the form pops up but the video does not play.
I cannot understand why? also I have found that when i try to start afresh and rebuild the whole project and name it something different (other than the default name that appears) it produces an error message saying that it cannot debug the target (filename) is missing. <--- what does that mean???
I would greatly appreciate if anybody out there could help me.
(also i understand i may need to look at the msdn microsoft docs.......where do i find them?)
Thanks again
Jaidev
|
|
|
|
|
Uhhh...If you get an error during the compile, chances are good that an .EXE file was not written to the hard drive, so there's nothing to execute. You can not just ignore the errors and expect your app to work.
What's the error that you're getting?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|