|
Hi, I’m new to programming so bear with me on this...
Basically my program uses reporting services to send out reports to customers, each report needs pre specified values before it can run (Year, Customer name ect). At the moment I can connect to reporting services and get the parameters name and its Prompt ect back. But what I want is the parameter values (e.g. The parameter is Year I want my program to return all the values in the "Year" drop down box).
Sorry if this isn’t to clear but any help would be grate I’ve been stuck on this for a day or so now!
Cheers,
Rene
|
|
|
|
|
i was generating an exe of my window project. whenever i try to deploy it on the machine - not having the dot net 2.0 framework - it shows a messagebox to install the dot net framework.
I initially added the framework but still getting errors.
I think i am somewhere missing something.
can somebody send the deployment steps ?
|
|
|
|
|
Nilish wrote: I initially added the framework but still getting errors.
What error?
Regards,
Satips.
|
|
|
|
|
I think i have mentioned the error in my query.
|
|
|
|
|
Did you add the 2.0 framework. If you added the 1.1 framework for a 2.0 app you would still get errors. The other possibility is if you are installing the app and you are not an admin on the PC you are installing it on you may get some security errors.
Ben
|
|
|
|
|
sir,
error initiates when i double click my setup file.The error message is ... The dot net framework is not installed.i am mounting 2.0 framework.
Can u send me the installation steps (especially for adding the dot net framework)
|
|
|
|
|
|
Hi all
how to accomplish email validation in windows application
Thanks in advance
PraveenKumar Palla
-- modified at 9:39 Friday 22nd June, 2007
|
|
|
|
|
|
Really i am verry sorry
i need email validation in windows application
|
|
|
|
|
The email address format validation is normally done by a regular expression. The link he posted was kind of accurate, but since it's a C++ article, it may be difficult to understand.
This code was taken from this article[^] and converted to VB.NET.
Imports System.Text.RegularExpressions
.
.
.
Public Shared Function EmailAddressIsValid(ByVal address As String) As Boolean
Dim strRegex As String = "^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" & _
"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" & _
".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"
Dim re As New Regex(strRegex)
If re.IsMatch(address)
Return True
Else
Return False
End Function
|
|
|
|
|
|
Try something like the following:
<br />
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
Dim objRegEx As New System.Text.RegularExpressions.Regex("^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$")<br />
If objRegEx.IsMatch(TextBox1.Text) Then<br />
ErrorProvider1.SetError(sender, "")<br />
Else<br />
ErrorProvider1.SetError(sender, "Email address is not valid")<br />
End If<br />
End Sub<br />
You may have to adjust the regex depending on what you consider a valid email address.
|
|
|
|
|
whenever I am generating EXE of our vb.net project then all those crystal report that is generated using through data set are not proprly running on other system but running fine on same system .
MARA !DEA
|
|
|
|
|
hi,
what problem occur on other system ?
describe the problem which is occur on other system.
without any proper indication how can anybody help you?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
Probably because you didn't install the Crystal Reports runtime when you created your application's installer. Read more here[^].
|
|
|
|
|
How are you deploying your application to the other system? If you are just moving the EXE you are probably missing the Crystal dependency files. Create a Setup project for your app, it will grab all of the needed files and install them on the other system.
|
|
|
|
|
My application draws a pie chart using DrawPie.
Here is a sample:
g1.DrawPie(Pen:=myPen, rect:=New Rectangle _
(x:=x + XAdjust, y:=y + yAdjust, Width:=Width, Height:=Height), _
startAngle:=startPos, sweepAngle:=sweep)
I am finding that the resolution is fairly low.
Is there any other method or object I can use to get a really crisp smooth diagonal line on the pie chart?
Regards
Guy Thiebaut
Cambridge UK
-- modified at 7:04 Friday 22nd June, 2007
You always pass failure on the way to success.
|
|
|
|
|
do work hard i am sure ane day u will get solution
MARA !DEA
|
|
|
|
|
oh - ok thanks.
You always pass failure on the way to success.
|
|
|
|
|
Solved it to some extent...
Using the built in anti-aliasing.
It's not perfect but it is good enough for the moment.
So here is the code:
Public b1 As Bitmap
Public g1 As Graphics
b1 = New Bitmap(Width, Height, Panel1.CreateGraphics())
g1 = Graphics.FromImage(b1)
g1.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
-- modified at 10:08 Friday 22nd June, 2007
You always pass failure, and a few fools, on the way to success.
|
|
|
|
|
hi everyone,
i have a datagridview on my form at design time. Some column's type of this grid is combobox type. however i can add some items to this combo column at design time but i don't know that how can i add some more items to this combo column at run time ?
any help will be appreciated
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
in the databound event get the control of the particular column then u can add a new control there.
Sathesh Pandian
|
|
|
|
|
hi sathesh,
can u provide some example code or any link?
thanks in advance
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
|
|
|
|
|
how to create text file(.txt) with vb.net
1) Create file
2) Save file
3) Read file
4) close file
|
|
|
|