|
My point exactly...
|
|
|
|
|
Hi all,
I've developed an application using VB6 and MySQL. I designed all my reports using Crystal Reports 10. How to call these reports in my VB6 application. Can any body give sample code. Please help me in this issue. Most Urgent.
Thanks in advance.
|
|
|
|
|
You will need to have variables referencing Crystal Application and Report objects in your program. You can set the data source of the report dynamically in your project.
I did something similar a while ago... Googling will probably help you get some sample code.
|
|
|
|
|
Hi,
I have built an Crosstab Report using VS.Net 2005 Crystal Report,
I have used XSD as my Datasource for the report and I set the Datasource of the Report at Runtime from a Dataset.
There are 2 rows in my report and 1 Column Feild and 1 Summarized Feild.
The problem is when the Report is Viewed there are no Row Heading in the Report.
for eg the out of the report is
Canceled Returned SucessFull
Dealer1 1004 10 12 132
Dealer2 900 12 13 09
Now I want the Header for Dealer as Dealer Name and then Total Apps i.e I want out in this Format
DealerName Total Canceled Returned SucessFull
Dealer1 1004 10 12 132
Dealer2 900 12 13 09
First of all i want to know is this POSSIBLE to give header for Rows in VS.Net 2005 Crystal Report
If it is possible any one can plz provide any idea as to how it can be done.
I have tried searching every option in VS.Net Crystal Report but couldn't find any Solution.
regards
|
|
|
|
|
Could you help me? I have a problem related the cross tab report.
|
|
|
|
|
Hello
I am populating at combo box from a dataset. But when I run the program I find I get system.data.datarowview being displayed in the combo box. What should be displayed is the values in the table. i.e. R4484, G5474.
SupportContractID is the primary key in the table.
[code]
ds = ws.loadSupportContracts(clientID)
If (ds.Tables(0).Rows.Count > 0) Then
Me.cboSupportContracts.DisplayMember = "supportContractID"
Me.cboSupportContracts.ValueMember = "supportContractID"
Me.cboSupportContracts.DataSource = ds.Tables("contracts").DefaultView
End If
[/code]
Many thanks,
Steve
|
|
|
|
|
Hi,
New here and on the hunt for some assistance (obviously).
First up I am a total virgin when it comes to code (asides from tsql), but I have a situation where I need to fill a combo box in an Access database with the users from our Active Directory.
Does anyone have any ideas/detail on how I can achieve this?
Thanks in advance
Troy
|
|
|
|
|
Is it possible to create a program in VB that:
1. Starts up an application
2. Runs checks every few seconds on the Windows task manager processes
3. If the program is still running, wait another few seconds
4. If the process is no longer running, go back to the .exe and restart it
5. Repeat
Also, it would need to have a custom input box to give the location of the program in case it changes. I'm not a very advanced programmer, and a complete noob when it comes to Windows programming, so this is why I ask.
I have some alpha server software to manage, and the server crashes often [every 15 mins or so] and it's getting quite a hassle to have to restart it manually. The bugs are being worked out, so fixing them right now is not an option, and this would make the deal a whole lot easier.
Thanks much, especially for tolerating a noob question like this lol
Ka-Wiz
|
|
|
|
|
Yes, that's possible.
I'm not sure how to check the task manager to see if the program is still running, but to start a process, you can just use Process.Start("C:\Directory\File.exe") . Then have a timer that checks if the file is still running, and use the same code to reopen it. Then create a text box to store the file path in.
|
|
|
|
|
I had a datagrid and button column in it the button type is push button but i need to change the button color(which is in cement color by creation) to red and also text color that is displayed on the button to blue
Is this possible?
-- modified at 16:29 Tuesday 28th November, 2006
|
|
|
|
|
"Do not post programming questions (use the programming forums for that)"
|
|
|
|
|
Please post your code.
Jonathan Sampson
www.SampsonResume.com
|
|
|
|
|
|
I'm trying to create a screen saver using Visual Basic 2005. I've tried folowing a tutorial on the micorsoft site, however, whenever I try to compile it the program has numerous errors. I was wondering does anyone know of a good site or tutorial on this subject that explains from start to finish how to accomplish creating a simple screen saver? I'm newbie who is trying to learn by practicing and actually coding as I go. Also are there any how to learn visual basic 2005 books that anyone recommends for a beginner?
Thanks in advance
|
|
|
|
|
|
There is a Screen Saver starter kit included with VS2005
Pablo
Sometimes I think there's no reason to get out of bed . . . then I feel wet, and I realize there is.
|
|
|
|
|
But the explanations aren't very good.
|
|
|
|
|
That is the problem I had with the starter kit. They state you can change this and that but do not really explain how. Also I want to be able to build one using VS2005 from scratch which the starter kit does not explain. Unfortunately I have been unable to find a site or tutorial that does a good job explaining how to do it.
|
|
|
|
|
I can think of a couple cheap work-a rounds, but nothing that would be considered an actual Screen Saver.
I did read somewhere that all you have to do is change the filename of your .exe to a .src (screen saver extension), but that still doesn't explain how to create the visual effects.
|
|
|
|
|
I'm trying to read unallocated disk space -- leftovers from old file deletions -- by creating a new zero length file and dynamically expanding it. When I read the file contents during the process, I get nothing but nulls. Any ideas what's wrong?
Code snippet:
Dim oP as New FileStream ("C:\foo", FileMode.Create, FileAccess.ReadWrite)
oP.SetLength(1000000000)
oP.Close()
I get, as expected, a 10GB file. It consists entirely of nulls, rather than the bits and pieces of old deletions, as I'd expect.
What I'd ideally like to do is increment the file size by the hard disk cluster size, read the intervening data (generally 4K), lather-rinse-repeat until I've exhausted all disk space.
Any ideas how?
Wyman Miles
Senior Security Engineer
Cornell University
|
|
|
|
|
I think you have to do some lower level stuff, i.e. bypassing the File System
(and maybe VB is not the best friend to do that...)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Being a security engineer, you should know that you're not going to get away with that. Any space that you allocate in the file is automatically zeroed out. That little trick was eliminated a LONG time ago!
You have to do low-level reads of disk sectors to get at erased information. You cannot use any of the File operations in the .NET Framework to do what you want.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
You're right, and I should have realized that. I've done it before via AdjustTokenPrivileges followed by SetEndofFile/SetFileValidData.
When I try to grudgingly duplicate that in VB.NET, calling the requisite functions from kernel32 and advapi32, I get as far as AdjustTokenPrivileges before it errors with ERROR_INVALID_PARAMETER and I don't know why ...
|
|
|
|
|
I have a custom object that is accessible through a UserControl's properties. I have been able to use an ExpandableTypeConverter for the Custom Class to make the properties of this class show up in the UserControl's property grid. However, I cannot make it editable. No matter what values I give the properties through the grid, the values do not change from the default values given in the constructor. (Yes, it is initialized in the UserControl.) Most of the properties in this class are Colors and other custom types.
I would rather not have to adapt more properties in the UserControl just to make these editable. How can I accomplish this?
Thank you.
|
|
|
|
|
I'm writing a custom web component in VB and Javascript, using VS 2003. I originally wrote the same thing as a user component, but didn't like the big gray box it displayed in the designer. I'm going to use this component in a very populated webpage, and the big gray box would make it hard to align everything in the designer.
So now that I've almost finished the custom web component, when does it blosum into a component that looks like it will in the browser?
At the very least how do I control the width of the "[cwcComboBox "cwcComboBox]" thing to reflect the actual width of the component so I can place them where I need them in my web form?
Thank you.
|
|
|
|