|
anyone have some easy understanding code or some of ideas please...
|
|
|
|
|
What is your question ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Business Requirement
We have a need to print from our web environment to multiple network printers (with static IP) at other businesses.
Issues
We would like to choose the best technology to implement this solution. We have identified three key issues in the technology. Our software runs on IIS using Microsoft .Net 2. We use VB but can translate any ideas presented in C#.
Sending HTML to Non-Default Printers
We currently format our orders using HTML. I am aware of two technologies for printing HTML but both have problems with printing to the non-default printer. The web control only prints to the default printer. It is possible to change the default printer, but that is not acceptable for a server-side solution. I have also tried AxDHTMLEdit. The only way I could find to change printers is through a parameter that pops up the user interface, not possible for server side.
I need to find a good scalable server-side technology for sending HTML to any printer. An acceptable but far less desirable technology would allow sending plain text to any printer.
Monitoring Print Jobs
We need to monitor print jobs to verify that they printed successfully. It appears that Windows Management Instrumentation (WMI) should provide the technology to accomplish that. My one question in this area is if we print multiple orders, how can I match my order to the print job?
Network Printer Setup
In the short term, we could set up a network printer using conventional setup methods. We expect, however, to eventually support thousands of network printers so this does not appear to be scalable, particularly in a multi-server environment. Is there a way to send a print job to a temporary printer declared on the fly given only the IP address and printer type? Ideally, it would be nice to have a good universal printer driver but it would be acceptable for us to only support a limited set of printers.
Ralph Koppel
|
|
|
|
|
Guys, Im developing a web page in vb.net 2005 and everything is great.Now the problem is, Im trying to get the same look as in a webpage where things are well aligned and neat.My question is, are there any templates in VB.net that I can use??
Im battling doing things in asp, but Im Ok with VB.
kagiso
|
|
|
|
|
For a consistent look & feel, to ensure things are in the same spot on all pages have a look into Master Pages in ASP.Net 2.0[^]. I think this will really help.
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
|
|
|
|
|
|
Thanx Vuyiswa.
I sure will
kagiso
|
|
|
|
|
i am final year student. I want to build window application. I know vb.net, oracle and sql server.Can someone suggest me some projects.
|
|
|
|
|
A stock inventory system
Timetable app
EBook library
|
|
|
|
|
Rather than concentrating on front-end development why not look deeper and develop a business object framework which would prove a much deeper understanding of development and the framework.
I know that this is something which would set you apart from other candidates when applying for your first job. There is a great book on the development of business objects by Rockford Lhotka which would be a pointer in the right direction.
I don't know if this is something which falls under the remit of your project or would be something you are interested in, but its certainly something different.
|
|
|
|
|
shreya123 wrote: Can someone suggest me some projects.
I wrote a GIS as my final year project. The code is still in use 12 years later. I'm quite proud of that.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
* Reading: Developer Day 5
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
Hi,
A simple and Good NewsPaper Vendor software.
Regards & Wishes
Navneet Hegde
Nashik(City Of Pilgrimage)
Develop2Program & Program2Develop
|
|
|
|
|
how to put tooltip on the datagrid column header and also on cell of that column using vb.net 2003? plz help if anyone knows.here datagrid is bound at runtime.
|
|
|
|
|
Try to post your Query only once.
For putting the tooltip on each cell, try the MouseMove event of the datagrid. Enter the Required ToolTip there..
Hope this helps..
The name is Sandeep
|
|
|
|
|
In the grid's Mousemove Event Use this code to display the contents of Cell as tooltip
Hope this helps
dim str as string = ""
Dim pt As Point = New Point(e.X, e.Y)
Dim hti As DataGrid.HitTestInfo = gridName.HitTest(pt)
If gridName.VisibleRowCount > 0 Then
Dim bmb As BindingManagerBase = frm.BindingContext(gridName.DataSource, gridName.DataMember)
If hti.Row < bmb.Count And hti.Type = DataGrid.HitTestType.Cell Then
str = gridName.Item(hti.Row, hti.Column) ' Or the required tool tip
Else
str = ""
End If
Else
str =""
End If
if str <> "" then
ToolTip1.SetToolTip(sender, str)
|
|
|
|
|
how to put tooltip on the datagrid column header and also on cell of that column using vb.net 2003? plz help if anyone knows.
|
|
|
|
|
if i want to create a button component, i can do it by inherting the button class .but if i want to create a component with two buttons in that how can i do that?
-- modified at 7:47 Tuesday 26th June, 2007
|
|
|
|
|
|
pretty easy
just make a UserControl project
or add a class inherited from UserControl
A.E.K
|
|
|
|
|
Hi
If you inherit button then you won't get design time of component,
hence you use without inheritance, drag drop button on your usercontrol and code accrodingly.
Or
Inherit Button and draw two button in runtime.
Which ever suits you the best
Regards & Wishes
Navneet Hegde
Nashik(City Of Pilgrimage)
Develop2Program & Program2Develop
|
|
|
|
|
Hmmmm I know this is a forum for VB/VB.Net and both VBScript and C# are neither of these but I don't know where else to ask
Is there any chance some one could convert this code for me. Ideally to C# but to VB.Net would be fine (aslong as you don't cheat and use a function from the VB lib's in the BCL's ).
Function MyGregorianDate(l_Val)
' **********************************************************************************
' Description : Returns a date from a property tag in Outlook properties
' Arguments : <l_val> The VB number to convert
' Created : 03/02/2007
' Version : 1.0
' **********************************************************************************
Dim l_FracSecs
Dim l_RemSecs
Dim l_Secs
Dim l_RemMins
Dim l_Mins
Dim l_RemHours
Dim l_Hours
Dim l_RemDays
Dim l_Year
Dim l_RemDays2
l_FracSecs=((l_val/10000000)-INT(l_val/10000000))*10000000
l_RemSecs=l_Val/10000000
l_Secs=Round(((l_RemSecs/60)-INT(l_RemSecs/60))*60,0)
l_RemMins=Int(l_RemSecs/60)
l_Mins=Round(((l_RemMins/60)-INT(l_RemMins/60))*60,0)
l_RemHours=INT(l_RemMins/60)
l_Hours=Round(((l_RemHours/24)-INT(l_RemHours/24))*24,0)
l_RemDays=INT(l_RemHours/24)
l_Year=1601+INT(l_RemDays/365)
l_RemDays2=109572+DateSerial(l_Year,1,1)-DateSerial(1901,1,1)
MyGregorianDate=DateAdd("d",l_RemDays-l_RemDays2,"01/01/" & l_Year)
MyGregorianDate=DateAdd("h",l_Hours,MyGregorianDate)
MyGregorianDate=DateAdd("n",l_Mins,MyGregorianDate)
MyGregorianDate=DateAdd("s",l_Secs,MyGregorianDate)
If Year(MyGregorianDate)<1902 Then
MyGregorianDate=""
End If
End Function
|
|
|
|
|
What do you mean by
[--> aslong as you don't cheat <--]
what do you think this forum or Codeproject is for
People out here are not to serve anyone.
Wishes & Regards
Navneet Hegde
Nashik(City Of Pilgrimage)
Develop2Program & Program2Develop
|
|
|
|
|
I think your mistaking me for someone who doesn't regularly help out round here :P
Navneet Hegde wrote: [--> aslong as you don't cheat <--]
By that I ment that I would then convert the VB.Net code to C# myself but I don't want to add in the VB lib's.
It was also said slightly sarcastically as it wouldn't really be cheating to use it, but that obviously went over your head.
Navneet Hegde wrote: People out here are not to serve anyone.
Yes I know, I spend all day at work and often spend my breaks giving answers and getting no thanks for it. Not that I demand thanks, but people often demand answers.
Thanks for the reply tho :P
|
|
|
|
|
originSH wrote: but I don't want to add in the VB lib's.
What VB lib's??
|
|
|
|
|
Microsoft.VisualBasic
I know they are fully managed and have some funky stuff in but it still makes me feel dirty
|
|
|
|