|
dear all,
please send me any code snippets or tutorials which describe how to generate reports using microsoft reporting service within vb express edition 2005? Thanks ...
|
|
|
|
|
Have you looked up articles on how to do this using the full Visual Studio? I would imagine it's fairly similar with the Express edition.
I've only in the last week or two used Reporting Services myself, but that was with SQL Server 2000, and there have been many changes.
Try staring here...
http://msdn2.microsoft.com/en-us/library/ms159106(SQL.90).aspx[^]
Kevin
|
|
|
|
|
Howdy,
How do I get this working?
Public Function GetHwnd() As System.IntPtr Implements IPanelWindow.GetHwnd
Return CType(textOutput.GetHwnd(), System.IntPtr)
End Function
textOutput.GetHwnd() returns an Integer.
I get the following error: Value of type 'Integer' cannot be converted to 'System.IntPtr'.
Thanks!
Brad
|
|
|
|
|
Somthing like this I suppose, or
You could always ask desktopsidebars tech support:
support@desktopsidebar.com
Public Function GetHwnd() As System.IntPtr Implements IPanelWindow.GetHwnd
Return New IntPtr(textOutput.GetHwnd().ToInt32)
End Function
Hope that helps.
progload
|
|
|
|
|
progload,
Thanks for the idea. Didn't work unfortunately.
Fortunately, another message board came through with what appears to work:
Return New System.IntPtr(textOutput.GetHwnd())
The Desktop Sidebar guys didn't have the right syntax either - they are C# guys. But I will post the solution to their message boards as well.
Thanks,
Brad
- Brad
|
|
|
|
|
Hey ,
please i work on a sql server DB & i needed to store a DateTime field from ma app. vb.net but the problem is that i want just to store time format
but the field in sql montioned as datetime when i store the value transfered to the DB is datetime not just time , it takes the time i gave it plus the date.now i mean date of today can you tell me how to solve this please ??
thank you
try to be good if you can't be the best
|
|
|
|
|
I have not tested this code but I am sure that if datetime.now.tostring("dd/MM/yyyy") will work then datetime.now.tostring("h:mm:ss tt") will also work.
Rizwan Bashir
|
|
|
|
|
There is no data type in SQL Server for storing time without a date.
When you store the time in the database it has no format at all. It's just stored as a number representing the number of days since a specific date.
Store the date and time in the database, and when you retrieve the value you can format it without the date.
---
b { font-weight: normal; }
|
|
|
|
|
hi, I have a registration form in an asp project. the user will enter his info and the form checks if the username he entered has already been signed by another user. if not then he can login in successfully. now how can i see if the username is used. and if not used in database how can i pass the name and surname and username to the database and save it there pls?? this is in asp.net pls
can someone help me pls?? 10x alot!!
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Im slightly new to vb.net and i was wondering if someone would help me
Loop until a space or Line Feed is found in a text box
|
|
|
|
|
use
vbcrlf=linefeed
or put space there " "
strings.instr(stringvalue,vbcrlf,textcompare)
Rizwan Bashir
|
|
|
|
|
Hi ,
well , i have a client/server application
i'm doing an application for a hotel , the database will be in the server & the app. in the client post
so now i have done setup of ma app. but i want to integrate something that allows me to transfert the datafiles to the server
first i wanna know how to integrate my datafiles on my setup , like that once the yser install the application the datafiles take road to their root
i hope you understand me
even if it is no possibility to do it in an application client/server can you tell me how to do it in local ??
ahh , i work with SQL Server 2000 & VS 2003
thank you very much
try to be good if you can't be the best
|
|
|
|
|
Hi ,
this was really a bad title but what i wanted to say is this :
For Each Checkbox In Myform<br />
Checkbox.checked = true<br />
Next
i think this needs a declaration of a variabl as Object or i don't know
i'm asking abt it can you tell me or write me all the code permit to do that
i want for each check box in ma form to affect true value to checked propriety
thank you very much
try to be good if you can't be the best
|
|
|
|
|
Dim control As Control
For Each control In Me.Controls
If control.GetType.Equals(GetType(Windows.Forms.CheckBox)) Then
Dim chkBox As CheckBox = CType(control, CheckBox)
chkBox.Checked = True
End If
Next
Mike Lasseter
|
|
|
|
|
thnx thank you very much man you can't imagine what you solved with that simple code
i really meeded it more than once but now i don't have to be worry
thank you again
try to be good if you can't be the best
|
|
|
|
|
I am having trouble with the EventHandler definition and the parameters to the routines. I have a datagrid with a template column. On that template column is a linkbutton. I want to simulate the click event of the linkbutton by bubbling events. It doesn't work. It goes through the code but the DataGrid onitemcommand event doesn't fire. Here's a code snippet. The DataGrid name is grdReceivingData, onitemcommand="ViewRecipientSubDetails", LinkButton commandname="view".
At class level:
Public Event Command As CommandEventHandler
Sub, function, eventhandler definitions:
For i As Integer = 0 To (grdReceivingData.Items.Count - 1)
If grdReceivingData.Items(i).Cells(0).Text = DBASUB.ToString Then
OnCommand(grdReceivingData.Items(i).Cells(4).Controls(1), New CommandEventArgs("view", String.Empty))
Exit For
Else
Exit Sub
End If
Next
Protected Overridable Sub OnCommand(ByVal e As CommandEventArgs)
Dim handler As CommandEventHandler = CType(MyBase.Events.Item("ViewRecipientSubDetails"), CommandEventHandler)
If (Not handler Is Nothing) Then
handler.Invoke(grdReceivingData.Items(0).Cells(4).Controls(1), e)
End If
MyBase.RaiseBubbleEvent(grdReceivingData.Items(0).Cells(4).Controls(1), e)
End Sub
Protected Overrides Function OnBubbleEvent(ByVal source As Object, _
ByVal e As EventArgs) As Boolean
If TypeOf e Is CommandEventArgs Then
Dim args As New DataGridCommandEventArgs(grdReceivingData.Items(0), _
grdReceivingData.Items(0).Cells(4).Controls(1), CType(e, CommandEventArgs))
MyBase.RaiseBubbleEvent(grdReceivingData, args)
Return True
End If
Return False
End Function
Public Delegate Sub CommandEventHandler(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
-- modified at 11:42 Tuesday 30th May, 2006
|
|
|
|
|
Hi everyone,
Hope someone can help me with this.
Let me describe the scenario. A person will enter his/her username and password on the program I am doing. The my program will send the username and password to other website such as yahoo.com and gmail.com, it will login, go in deeper such as the inbox and retrieve whatever data is there from the website database then return and store the information at my database. All this happens at the backend and the user see nothing of it.
My problem is that I am able to scan through the HTML and identify which is the button and textboxes but I have no idea how am I going to insert the username and password pass from the program into the website's login page and click the Submit button. The username and password is actually extracted from the local database
I have been cracking my head on this as it is my first time trying this. Your replies are well appreciated.
-J Liang-
|
|
|
|
|
well no need to drill into the page at primary level. check for the form name and the textbox names and button name which will submit and do the following.. on the logon page when user enter the information and click ok. on the same page put one IFrame and inside that IFrame call the page which you want to submit . make height and width of Iframe=0 so that it will be visible false. Now when user enter the value in your textboxes. you can use java script to populate the information in the Iframe page. textboxes. and then use submit of that page. so this way you can exactly keep the track of the page and can play with that using your page..
Regard
Rizwan Bashir
|
|
|
|
|
Thanks Rizwan for replying, actually I got my program to login to the website just a while ago but I think must be the session issues that it says it is forbidden for me to access the page, so no HTML is parse back to me. The website that I need to use my program to login is not in my responsibility, it is maintain by another programmer, so my job is to create a program that suite the existing website he is doing. I wonder how Vb.NET usually deal with sessions in the web pages
-J Liang-
|
|
|
|
|
Hi All,
I am building VB.NET web form application which access Web Service. I am wondering why the VB.NET send two packets to request the to the web service.
First packet:
POST /webservice/webservice1.asmx HTTP/1.1
SOAPAction: "http://webservice1/insUserName"
Content-length: xxx
Expect: 100-continue
Host: 192.168.1.1
Response from the web service:
HTTP/1.1 100 Continue
Date: ...
Second packet:
<xml version="1.0" encoding="utf-8"><soap:envelope...
response from="" the="" web="" service:
http="" 1.1="" 200="" ok
...
i="" am="" wondering="" if="" there="" is="" a="" way="" that="" this="" packet="" can="" be="" just="" one="" packet,
such="" as:
post="" webservice="" webservice1.asmx="" http="" 1.1
soapaction:="" "http:="" webservice1="" insusername"
content-length:="" xxx
expect:="" 100-continue
host:="" 192.168.1.1
<xml="" version="1.0" encoding="utf-8">
|
|
|
|
|
How do I removed a reference I have added to my project? In the class view it does not seem to allow you to do this.
|
|
|
|
|
open up your projects properties and click on the references tab. Highlight the reference you want to remove and click the remove button.
|
|
|
|
|
|
Hi, Please i want to create an advanced interfaces i want they look as XP Or VS 2005 style or even Office style
i heard abt something called "BCGPMSOffice2007" & i downloaded the demo version this is the link if you want to see their page http://www.bcgsoft.com/[^]
can you tell me when we can use this logiciels &how ??
thank you very much
try to be good if you can't be the best
|
|
|
|
|
A UI library exists to replace classes in your app and add extra 'look and feel'. To use this library, you need to rewrite your app, it's a C++ library.
Christian Graus - Microsoft MVP - C++
|
|
|
|