|
I been googling for sample source code or new documentation on how to integrate System.Speech for voice recognition in VB.net. I didn't find any yet. Any sample source code will be great.
|
|
|
|
|
I've made a Visual Basic 6 program related to a database.
I want to make a dinamic chart in Visual Basic using this database data, but i don't want to make it myself because is too hard.
I made a chart in Microsoft Word using Visual Basic code, but I want it to be made in a form in VB 6 for example, if that's possible.
Thank you very much!!!
|
|
|
|
|
leaveu wrote: I made a chart in Microsoft Word using Visual Basic code, but I want it to be made in a form in VB 6 for example, if that's possible.
Nope. You'd have to do quite a bit of rewriting of the code, thereby doing it the "hard way" anyway.
|
|
|
|
|
leaveu wrote: I've made a Visual Basic 6 program related to a database.
I want to make a dinamic chart in Visual Basic using this database data, but i don't want to make it myself because is too hard.
I made a chart in Microsoft Word using Visual Basic code, but I want it to be made in a form in VB 6 for example, if that's possible.
Why don't you use an MS Word object in the program and use the chart you already made, then?
|
|
|
|
|
Hi All,
Wondering if anyone knows how to allow users to resize the CrystalReportViewer control at runtime? I have tried using the sample code found at: http://www.codeproject.com/useritems/Resize_Control_at_Runtime.asp[^]
Without luck (seems to work only with standard VB controls?). So if anyone has any ideas or sample code please help!!
Paul Keys
Managing Director
Ingwe Business Solutions, South Africa
http://www.ingwesolutions.com
|
|
|
|
|
You can probably still use the code. Try dropping the CRViewer control in a Panel and use that code on the Panel instead.
|
|
|
|
|
Tried it with the Panel but with no success... any other suggestions?
|
|
|
|
|
Is the CRV control Docked (Fill) inside the Panel control??
|
|
|
|
|
OK, it worked, but the resizing of the CRV is limited to the size of the panel. so it's ineffective really. thanks for your help!
|
|
|
|
|
Well, another thought. You could create a form with the CRV on it.
Create a form with the CRV on it. Set the CRV's Dock proeprty to Fill. Set the form's BorderStyle to SizableToolWindow and it's ControlBox property to False (important!)
In you're code, create an instance of this form, set it's TopLevel property to False, then add it to another Form's Controls collection.
Dim crvHost As New MyCrvHostForm()
crvHost.TopLevel = False
Me.Panel1.Controls.Add(crvHost)
crvHost.Show()
Or you could just show the CRV host form as it's own window.
|
|
|
|
|
I'm trying to use IExtenderProvider to add a property to all the components on a form.
The RFEnabled property shows up in the property window but now where else (code - design time and run time). Is there anyway that I can expose the property to the code?
Imports System.ComponentModel
Imports System.Runtime.InteropServices
<ProvideProperty("RFEnabled", GetType(Control))> _
Public Class EnableChangeComponent
Implements System.ComponentModel.IExtenderProvider
Public Function CanExtend(ByVal extendee As Object) As Boolean Implements System.ComponentModel.IExtenderProvider.CanExtend
If TypeOf (extendee) Is Form Then
Return False
ElseIf TypeOf (extendee) Is Control Then
Return True
End If
End Function
#Region "MonitorForChanges"
<Category("Change Monitoring")> _
<Description("Whether or not to monitor this control for changes")> _
Public Function GetRFEnabled(ByVal ctl As Control) As Boolean
'insert real code here
Return True
End Function
<Category("Change Monitoring")> _
<Description("Whether or not to monitor this control for changes")> _
Public Sub SetRFEnabled(ByVal ctl As Control, ByVal value As Boolean)
'insert real code here
End Sub
#End Region
End Class
Thanks...
Nathan
-- modified at 14:06 Tuesday 27th November, 2007
|
|
|
|
|
nlarson11 wrote: The RFEnabled property shows up in the property window but now where else (code - design time and run time). Is there anyway that I can expose the property to the code?
No, because it's not part of the Control class. The extended properties only work in the designer. The properties are not "attached" to the controls they extend. The extension class is instantiated seperately from the controls and it keeps track of which controls it's been attached to. The controls don't have any idea that they've been "extended".
|
|
|
|
|
Thank you for the explanation...
|
|
|
|
|
I am running VS2005 & .NET 2.0. Trying to create a web service in VB using the ASP.NET Service Application template. If I select "File System" in the Location box, everything works fine. If I select "HTTP" the OK button is greyed out so I can't create the app. Obviously, I am failing to do something I should, or doing something I shouldn't.
Can somebody give me a clue?
|
|
|
|
|
I believe it's because you don't have IIS installed on your dev machine. It won't let you develop your service on a remote server.
|
|
|
|
|
I have IIS installed, but that doesn't mean it's installed correctly. I uninstalled it and then reinstalled it, but it didn't seem to make any difference. Are there tweaks I need to apply?
|
|
|
|
|
Was IIS installed AFTER Visual Studio?? IIS has to be installed first.
You might want to look at this post[^].
-- modified at 15:13 Tuesday 27th November, 2007
|
|
|
|
|
Ah, so!
I will try the fix in your reference.
Thanx!
|
|
|
|
|
I performed the suggested ritual. VS still won't activate the OK button for anything but a File System location.
Any other suggestions?
|
|
|
|
|
Reinstall Visual Studio (do NOT repair the installation!). Uninstall VS and reinstall it with IIS already installed.
|
|
|
|
|
I was afraid it was coming to that. Sigh.
|
|
|
|
|
I've done it more times than I care to count, so I feel your pain.
VS2008 takes even longer...
|
|
|
|
|
VS2008 takes even longer...
Now that's something to look forward to!
|
|
|
|
|
Firstly sorry, I am new to vb.net.
I am writing a vb.net application to manage reports on a reporting services server. The application allows users to create datasources, upload reports from rdl files etc.
The app uploads reports ok and creates datasources but when I try to run one of the reports I get "The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference)"
If I manually set the datasource to the shared datasource on the report server the report works fine.
From searching around I think I need to re-point the datasource in the report but I cannot figure out how to do this. I have tried using SetItemDatasource but when I try to enter the name of the datasource I get a "Type String cannot be converted to a 1 dimensional array of type datasource."
I am sure I should be doing something like:
SetItemDataSources("/ReportsFolder/ReportName", SharedDataSource)
but I cannot figure out what the SharedDataSource reference should be, I have tried "myDataSourceFolder/MyDataSourcename" but I get the above error. Please somebody put me out of my misery.
Thanks.
Richard
Its better to burn out than to fade away!
|
|
|
|
|
Realsirocco wrote: but I cannot figure out what the SharedDataSource reference should be
Did you try reading the documentation[^]?
It states that the 2nd argument is an array of DataSource[^] objects.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|