Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




ListView Report Mode View - RESOLVED


When I change to report mode view nothing is showing up in my listview. When I change it to List view my data shows up. Any ideas?


VB Code:
Private Sub LoadTableSpecs()        Dim oSQLServer As New SQLDMO.SQLServer    Dim oSQLDatabase As New SQLDMO.Database    Dim oSQLTable As New SQLDMO.Table    Dim oSQLColumn As New SQLDMO.Column        Dim i As Integer    Dim liObject As ListItem        ListView1.ListItems.Clear        oSQLServer.LoginSecure = True    oSQLServer.Connect Form1.cboServer1.Text    Set oSQLDatabase = oSQLServer.Databases(Form1.cboDatabase1.Text)    Set oSQLTable = oSQLDatabase.Tables(Form1.cboTable1.Text)        For Each oSQLColumn In oSQLTable.Columns                Set liObject = ListView1.ListItems.Add(, , oSQLColumn.Name)        liObject.SubItems.Add , , oSQLColumn.Datatype        liObject.SubItems.Add , , oSQLColumn.Length        Set liObject = Nothin        Next    oSQLServer.DisConnectSet oSQLServer = NothingEnd Sub




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Listview Report Mode
I just have a simple question that should be a quick answer from someone. Is there any way to make the listview wordwrap stuff that is to long instead of just have the ... at the end of the column?

Thanks

Steven

LISTVIEW: Item Icon (report Mode)
I can set the icon of an item:


Code:
dim li as listitem
set li = listview1.listitems(1)

'this works just fine
li.smallicon="blah"
' where blah is the key name in the imagelist control
' associated with the listview
But to make the icon dissapear:

Code:
'this doesnt work (no error but icon still stays)
li.smallicon=""
li.smallicon=0

'or

li.icon=""
li.icon=0


Can someone please tell me... it must be REALLY simple... how i make the icon dissapear after i set it ?

Displaying Icons In Listview - Report Mode
Hi,

I have a ListView on my form which displays data in Report Mode. I wish to be able to display little icons next to the items in my ListView but when I try to add the icon it tells me that the ImageView must first be initialised.

My question... what do I have to do to allow icons to be displayed? Is it possible to display icons in report mode or not? I want to add the icons to each item just after I add it to the list, if this makes it easier.

Here is the simplified piece of code I am using to add items to the ListView

VB Code:
count = 0Dim items as ListItemDo Until (count = 100)  Set items = Form1.ListView1.ListItems.Add(, , itemToAdd(count))  items.SubItems(1) = itemSubToAdd(count)  ' insert code here to add an icon to each item (not each subitem, only each main item)  count = count + 1Loop


Thanks guys.

WATTO
watto@watto.org
http://www.watto.org

Sorting ListView In Report Mode...(more Than One Column)
Hi,
I was looking for a way to sort the content of the items that I have in a listview...

let's say something like:

Code:
Product Exp. Date Price

Bread 08/23/2002 0.25
Bread 08/28/2002 0.25
Milk 09/01/2002 1.00
Milk 09/05/2002 1.00


note that the sorting is name of the product & exp. date with the exp. date in asc as the name of the product is...

when I load the listview...I have no problem at all I just sort the recordset on the name of the product & the exp. date...and I have the ListView filled just the way I want... the problem comes when I move the products to another ListView there the products can be sorted only by one of this...name of the product or by exp. date but not by the two of them...

does anyone knows a workaround on this?
(the problem comes when i return the products from one listview to another and when moved in random order...

Thanks!

ListView Report Mode Drag And Drop-please
I have this listview in report mode, but I want the user to be able to change the order of things, preferably by dragging and dropping, inside that one box. If you have any idea, I'd be glad to hear. note: it's not a listbox, and there aren't two boxes, just one listview that needs it's order changed around a bit.

bob

How To Change Background Color Of Column Header Of Listview In Report Mode?
how can we change listview's columnheaders' backcolor a?
thanks

saracjl

Sabin Kumar Chhetri

Help About ListView Report View
How can I add a new item to a particular column in report view? For example I have a columns named First and Second, I want to add an item to the Second column and not in First. Please tell me how. Please. Please. Please.

(Resolved)View Birthday Of The Month In LISTVIEW?
hi! need help i'd like to know how to view Birthday of the Month in Listview...

i have errors here:
"Select *From QueryMusic Where Bday = Month(now)"

i want to view "birthday of the month" when i click radio button(Birthday) and display in Listview....

waiting to your reply.thanx in advance.



Edited by - edd_hills on 7/20/2005 7:02:09 AM

Getting Out Of AddNew Mode And Back To View Mode
Hi, all, this is really stupid but I need help:

If a user has clicked on Add commandbutton and suddenly wants to cancel the entry before update, how can I code the Cancel commandbutton?

GoodGuy
Experience is a bad teacher for its exams precede its lessons.

Edited by - GoodGuy on 9/14/2005 7:29:24 AM

Listview - Report View With Icons?
Is it true that is you have the listview's view set to 3 (lvwReport) that it can't show icons?

I have a imagelist on a form with a picture in it. The picture has a key. I set the listview's icons and small icons to this imagelist. I tryed to add the picture to a listview menu item and used its key.

Didn't work. Any suggestions?

Listview + Report View + Colour
Can I make subitems have different backcolors or forecolors to them?

Right To Left ListView? (Report View)
I've tried implementing a right-aligned listview (comctl 6.0), but without any effect.
The listview is in report view mode.
Running WinXP. Shell language is Hebrew.

Code:
OldExStyle = GetWindowLong(lvwLearn.hWnd, GWL_EXSTYLE)
OldExStyle = SetWindowLong(lvwLearn.hWnd, GWL_EXSTYLE, OldExStyle _
Or WS_EX_LEFTSCROLLBAR Or WS_EX_RIGHT Or WS_EX_RTLREADING)
There is no apparent change to the listview, even though the call succeeds.

Does anyone have a solution?

ListView (Report View) Troubles...
I have a list view that can contain alot, a few, or no values at all at any given time.
The box will display existing information in row 1, then in row 2 it will display the information that will overwrite the existing information (if the user chooses). Then the 3rd will be existing, 4th new, 5th existing, 6th new, etc...

The grid goes in pairs, and the check boxes are turned on. By default nothing is checked. I want the user to be able to click whatever they choose, if they check the box on an odd row, then all the text in every cell of that row will go bold, and the entire row after that cell will lose its bold font (incase it was selected before). The rows look like this:

1 asdfas as as dasdfasf asdf
1 asdf asf asdf asdf asd fasf asd
2 asf asdf asdf asf asf asdf asdf
2 asf asd fasdf asd fasdf asdf asdf
3 asdf asdf asf asf asdf asdf asdf
3 asdf asdf adsf adsf as fasd
4 adsf asdf sdf asf sa dfas fasdf as
4 asdfasdfa sdf asdf as fafs

Of course with check boxes to the left of the numbers, if i click the 2 on the bottom, it will go bold and the 2 above it will be unchecked and go back to non-bold font. I know this is possible, im pretty close already.. Here's what i have:


Code:
Private Sub lvConflicts_ItemCheck(ByVal Item As MSComctlLib.ListItem)
Dim MyCount As Integer
If Item.Checked = True Then
Item.Bold = True
For MyCount = 1 To 8
Item.ListSubItems.Item(MyCount).Bold = True
Select Case Right(Item.Index, 1)
Case Is = 1, 3, 5, 7, 9
Item.ListSubItems.Item(MyCount).ForeColor = vbBlack
lvConflicts.ListItems(Item.Index + 1).ForeColor = &H808080
lvConflicts.ListItems(Item.Index + 1).Checked = False
Case Is = 0, 2, 4, 6, 8
Item.ListSubItems.Item(MyCount).ForeColor = vbBlack
lvConflicts.ListItems(Item.Index - 1).ForeColor = &H808080
lvConflicts.ListItems(Item.Index - 1).Checked = False
End Select
Next MyCount
Else
Item.Bold = False
For MyCount = 1 To 8
Item.ListSubItems.Item(MyCount).Bold = False
Select Case Right(Item.Index, 1)
Case Is = 1, 3, 5, 7, 9
Item.ListSubItems.Item(MyCount).ForeColor = vbBlack
lvConflicts.ListItems(Item.Index + 1).ForeColor = &H808080
Case Is = 0, 2, 4, 6, 8
Item.ListSubItems.Item(MyCount).ForeColor = vbBlack
lvConflicts.ListItems(Item.Index - 1).ForeColor = &H808080
End Select
Next MyCount
End If
End Sub


Im practically doing it already, i know it.. I think im just thinking too hard.. ive been working too long on this

Listview (report View) Scrollbars
I can't seem to figure this out: how do I add vertical and horizontal scroll bars to a Listview control with its "View" property set to "lvwReport"? I have tried many thing ... but none seem to work.

Icons In Listview In Report View
Hi, I am having trouble trying to display icons in a listview. I am displaying the listview in report mode and I have all the imagelists properly bound. If im not mistaken, the icons used in the report view use the 'small' imagelist, correct? Anyway I am populating the imagelist by creating a ListItem variable and setting it to Listview1.Add each time through the loop. Could this be the problem?

Moving Columns On A Listview (Report View)
I want to programmatically set the Position of the columns in a list view.

This is an "after thought" so I am trying to do it on already loaded listviews.


I see from a little experimentation that I can easily move the column headers by simply changing the .position property.

But that does not bring over the data for that column. (Just the header)

Do I have to manually move the data or there an easier way?


(By "manually move the data" I mean set up a temp array, copy the column's data, update new column after moving other column into original col number)


Regards,

ListView (Report View) - Adding Items
AH! This is embarassing yet very frustrating. The last time I worked with the list view control was a loooong time ago. Unfortunately, I lost that project when my computer crashed (no big deal really, the program was never even completed). At any rate, how the heck do I add subitems and items to a report view listview?!

eg
Column 1 Column 2
Add Item Add Item
Add Item Add Item

ListView (Report View) Numeric Sorting
Hi,

I have a listview control in report view, and I have it so that when I click on a columnheader it sorts the list items by that column, the problem is that when I do that on a numeric column its sorts it like this

1
11
2
3
3100
4
...

I was wondering how can I make it so it sorts the column correctly

1
2
3
4
11
3100

Let me know if you know a way

Thanks In Advance,

Zmei



Edited by - Zmei2004 on 8/29/2004 8:45:42 AM

Last Column Width In Listview (report View)
Hi,


Does anyone know an easy way I can make the width of the LAST column header in a 'report view' listview automatically be equal to the space available.


ie,

if the other columns take up half the width of the listview, the last column takes up the other half.


Similary, if the width of one of the other columns changes, the width of the last column is automatically changed appropiately (so there is never a horizontal scroll bar).


Thanks in advance for any help you can give me.


Tom.

Last Column Width In Listview (report View)
Hi,


Does anyone know an easy way I can make the width of the LAST column header in a 'report view' listview automatically be equal to the space available.


ie,

if the other columns take up half the width of the listview, the last column takes up the other half.


Similary, if the width of one of the other columns changes, the width of the last column is automatically changed appropiately (so there is never a horizontal scroll bar).


Thanks in advance for any help you can give me.


Tom.

View Crystal Report Version 9 From VB6 - RESOLVED
I have just installed the latest version of Crystal (Crystal Reports V9 Professional) on my pc. Now I don't know which report control (.ocx) to use. In previous versions of Crystal the name of the file was crystl32.ocx, which was the crystal report viewer...however there is nothing of the sort to select when I need to add the component to my toolbar.
Could someone please help me out?

"The answer is out there, Neo, it’s looking for you. And it will find you, if you want it to."--Trinity to Neo

Edited by - NickStanford on 2/17/2003 6:42:54 AM

How To Add A Thumbnail To A ListView Subitems That Will View In Report Format?
How to add a thumbnail to a ListView subitems that will view in report format?

Editing Selected Item In ListView In Report View
How can I edit the second column of data in a listview control? I am making a properties box much like the one you use in VB. The first column information for each item can not be editable but the second column is going to be the value for each item and I need for it to be able to click and type in it just like in VB (or at least similar to that).

Any help and sample code is appreciated. Thanks.

*solved*I Wanna Learn ListView In Report View
hi this is a new thread after advice on moving from Picture1 to now i believe ListView in Report view is the way to go.

Metallisoft can you help me get his going. I have attached form1 to download and change as i can't get it to work. your reference click here hasnt helped me as it gave me 3 values i only need 2

Database eg
Quote:UNIVERSAL    OEM    MFG
16190    2-1428-HI    WAI
16190    SJ-0001R    AIM
16190    91-25-1030    WILSON
16190    S9024    LUCAS REMAN
16190    9821006350    ISUZU
16190    9821006060    ISUZU
16190    S114-136    HITACHI
16190    S114-100    HITACHI
16190    SR198X    BOSCH REMAN
16190    94022494    GENERAL MOTORS
16190    RXS056    OEX
16190    94021044    GENERAL MOTORS
16190    S114-118    HITACHI I Don't need to display the UNIVERSAL Numbers Just OEM anf MFG only

Code:Private Sub Command3_Click()
Set rs = New ADODB.Recordset 'this will be the rs
Dim strSQL As String 'this the source
         
'make the selection string: filter the records right away
strSQL = "SELECT C.* FROM OEMS AS C where UNIVERSAL in(select UNIVERSAL from OEMS where oem='" & UCase$(Text1) & "')"
                       
' To hold a reference to the current Listitem (row).
Dim oLVItem As MSComctlLib.ListItem

' The (Listview.Width - 350) / 3 simply adjusts the column
' widths to 1/3 the width of the Listview (subtracting the
' width of the scrollbar)
' ListView.ColumnHeaders.Add , , "Supplier", (ListView.Width - 350) / 3 '<- Don't need to work?
ListView.ColumnHeaders.Add , , "OEM", (ListView.Width - 350) / 3
ListView.ColumnHeaders.Add , , "Manufacturer", (ListView.Width - 350) / 3

        
        
        Picture1.Cls
        Picture1.FontSize = 8
        Picture1.Font.Bold = True
        Picture1.Print ">> Supplier Information"
        Picture1.Font.Bold = False
        Picture1.Print "OEM:"; Tab(20); "Manufacturer:"

    rs.Open strSQL, oConnection, adOpenStatic, adLockOptimistic, adCmdText
     
'loop through the recordset
    Do Until rs.EOF
        M19 = rs("OEM") 'Are m19 and m20 properties or local variables? didn't want to take them out, but if they are global settings and there are more records, they will only 'remember' the values in the last record.(No they are strings in a database)
        M20 = rs("MFG")
     
        Picture1.Print M19; Tab(20); M20
        rs.MoveNext
    Loop
     
    rs.Close 'Close the recordset never leave it open!
    Set rs = Nothing 'clear the rs variable

End Sub
  OK NOW how do i replace the Picture1 to ListView in Report view after reading MSDN click here CAN anyone save me? the ColumnHeaders don't display too?





Edited by - Hopeless on 6/4/2004 12:16:16 AM

ListView Control. How Do You Extractupdate Values In Report View
I have populated my ListView control with my values using DAO. I have 10 columns set up in report view. In my code fragment below, I am looking through my listview control searching for rows that the user has selected. Now I need to be able to extract some of the sub values and update others. How do I do this? Here is my code so far.

Private Sub SelectedCountCommand_Click()
Dim i As Integer

For i = 1 To ListView1.ListItems.Count
If ListView1.ListItems(i).Selected = True Then
'extract values from col 3 and 4 and subtract them

'update column 5 based on the results of col 3 minus col 4

End If
Next

End Sub

Help: How To View Selected Items From Listview With Crystal Report Viewer
Hi

I have a Listview with check boxes from it want to view selected items with crystal report viewer.

Private Sub cmdView_Click()
Dim lCustomerId as Long
    Dim tmpItm As ListItem
    For Each tmpItm In lstItems.ListItems
        If tmpItm.Checked = True Then
            lCustomerId = Val(Replace(tmpItm.Key, "C", ""))
          End If
    Next

  End Sub

Plz. help

regards

*Resolved* : ADO - Step Mode Returns Records, Run Mode Doesn't
Hi,

I have been working on ADO for the best part of 2 days now. I am using it to pass data to a crystal report which will display a purchase order. I am using Crystal Reports 8.5, Access 2000, VB6 Sp5 on a NT 2000 O/S. I am relatively new to Crystal Reports and ADO but I am alright at DAO and RDO.

The problem I am having is, if I view code running on a line by line basis the ADO returns records but if I run in a normal environment with the same 'EVERYTHING' it returns 0 records. I have given the code sample below. To explain I read other files where they store information on purchase orders. Depending which one the user wants I empty POR_PRINT_ORDER and populate the single record with that order using the information gathered from the other files.

Code:     
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Data.SageFile
rsAdo.Open "SELECT * FROM POR_PRINT_ORDER ;", conn, adOpenKeyset, adLockOptimistic, adCmdText
                        
If rsAdo.RecordCount > 0 Then


I am hoping that there would be at least a property within ADO that I could check to see if the query is still processing by the time I check the recordcount property. Its deluding me now and I would like any suggestions on how to resolve this!

Thanks in advance.

Baz.




Edited by - BAZ on 2/10/2004 5:38:22 AM

*RESOLVED* Getting Selected Item In List View To Move Into View*RESOLVED*
Hi, I am trying to get a List View to act like a combo box. At the top of the List View there is a text box where the following code searches the List View for the text entered, I have this code in the Change event of the text box so a search is done on each letter typed.

The code finds the record without a problem but I want it to move to the top or into view. Right now I have to scroll down to find the record it selected. Anyone have any ideas? Here is my code:


Code:
Private Sub txtFindFirst_Change()
Dim i As Integer
Dim l As Long
On Error GoTo NoRecord

If txtFindFirst = "" Then
GoTo NoRecord
Else
l = Len(txtFindFirst.Text)
For i = 1 To lstContacts.ListItems.Count Step 1
If StrConv(txtFindFirst, vbUpperCase) = StrConv(Left(lstContacts.ListItems(i).Text, l), vbUpperCase) Then
lstContacts.ListItems(i).Selected = True
Exit Sub
Else
End If
Next
End If

NoRecord:
On Error GoTo NoList
lstContacts.ListItems(1).Selected = True
strTransferID = lstContacts.SelectedItem.ListSubItems(1).Text
Exit Sub

NoList:
Exit Sub
End Sub


Thanks in advance for any help.

Driver DLL's - User Mode Or Kernel Mode - Resolved
Anyone out there know how to determine if a specific driver DLL is either user or kernel mode?

Is there an API to determine this?

Thanks,

Jim

How To View Frames In DEV Mode?
hello all,

i'm building a wizard that will have something like 20 windows. instead of having 20 forms and having the hassle of passing variables through one form to the other, i was just thinking of having 1 form and 20 frames which become visible/hidden while moving along.

the problem is just a developing issue: when you draw a frame over another, of course the older one becomes hidden by the newer one. and this becomes particularly annoying when you proceed in the development.

is there a way to have like in photoshop layers and 'bring up' the frame to make it visible, or something similar? otherwise i just have to play with drag and drops and this really becomes annoying.

any ideas?

cheers,

wc.

List View PopUp Prob (lvwIcon View) *Resolved*
Hi all,

I have a listview in large icon view (lvwIcon). I have a popup menu displaying some options when the user right clicks an item that is specific for that item.

My question is this -

I want a different popup menu to show when the user right-clicks on a blank area of the listview which would display general options.

In my testing, whenever a blank area is clicked, the selected item is the first item (if none had been selected) or the current selected item (if one had already been selected).

I currently use the selecteditem.text to determine what pop up menu is to be used.


I guess in theory the code might be something like ;


Code:
If lvwMain.SelectedItem = Nothing then
PopupMenu mnuGeneral
Else
PopupMenu mnuSpecific
End If


Any help would be greatly appreciated.

Cheers

Jack

Errors Trying To View Forms In Design Mode
Hello,

I have a project that contains about 7 forms. It was created with VB
enterprise and I can view the code behind all of the forms through the
project explorer, but if I try to view the actual form using the project
explorer, I get an error that says there were errors during the loading of
the form. I was able to view the forms about 2 weeks ago. This is what was
written to the error log:

Line 103: Property  in txtRoyaltyRate could not be loaded.
Line 547: Property  in txtcost could not be loaded.
Line 591: Property  in txtprce could not be loaded.
Line 615: Property  in txtprics could not be loaded.
Line 633: Property  in txtcosts could not be loaded.
Line 724: Property  in txtValue could not be loaded.
Line 1289: Property  in txtRoyaltyTot could not be loaded.
Line 1307: Property  in Text2 could not be loaded.
Line 1325: Property  in Text1 could not be loaded.
Line 1343: Property  in txtValAdded could not be loaded.

I tried reinstalling visual basic to no avail. I also transferred the files
to another computer and I was able to view the forms just fine.

Anyone have any ideas?

Appreciate it,

Geoff







View Data Reports In Landscape Mode
I have problem in data reports. In my table i have nearly 15 columns. i want display all the columns horizantil. But at running time the report says the error (report width is greater that paper width).

please send ideas.

thanks

How Can I Change View Mode Of Webbrowser Control (thumbs, Icon, List)
Hi everyone,
This is my first post to this forum. I review many previous posts about vb and its controls and I learn lot of things. Thank you for your sharings.

Now I have a question. There is a webbrowser control in my vb application. I use it to browse for folder and file. Can I change programmaticaly webbrowser's view mode (Thumbnails, Tiles, Icons, List, Details)

In Crystal Report, Report Is Viewed But Doesnot View Next Page Or Not Any Message Display!
in crystal report, report is viewed but doesn't view next page or not any message display! and surprisingly page no is increased infinitely (up to no limit!, I have checked up to 400+) but next page was not displayed! if I print report , only 1st page is print!

In this report , I have attached 6 subreports!

I hope anybody reply about my problem

ListView Tile Mode
Hello!

Does anyone know how to enable the tiled view of a ListView under Windows XP? I know vbAccelerator has a ListView control supporting tile mode, but I don't want to use their control if it's possible to do it with the Common Controls 5 package.

Listview Labeledit Mode
Hey, I'm trying to do something really simple. I can rename files from within my program now, by clicking on the item in the listview and typing a new filename. However, I have a rightclick menu, and "rename file" is one of the options. All I want it to do is go into labeledit mode on the selected item in the listview. Any help is appreciated.

Draw Mode (Resolved)
I'm using a rectangular Shape control with a dashed border to select an area of the screen to be captured. Now I want this border to be visible against any background color. What would be the right value for the DrawMode property?

ListView LostFocus In LvwReport Mode
Hi,
I have a screen that has a listview on the left side of the screen and contact information for the item in the listview on the right side of the page. When the user scrolls down the listview with the arrow buttons, as they click on a contact's name the right side of the screen fills up with the contact's info. On the right side, depending on the type of contact the person is, we hide or show different combo boxes that apply. For some reason, which I haven't yet figured out, on certain types of contacts in the list that we bring up combo boxes for, the listview loses focus and different controls on the form gain focus.
When I look at the callstack of the lostfocus event, there is nothing in the callstack and I can't seem to figure out who is making it lose the focus. Would anyone have any ideas as to what would be causing the listview to jump off itself and lose focus and put the focus on other controls on the page? This is a very annoying bug which I have no idea what's causing it.

Thanks,

BaylaN

Change Borderstyle In Run Mode??? ****RESOLVED****
Hi!!!
Do anyone know how to change the bordertyle when the app is running???

Resolved Bad File Mode Error
Hi,


I'm getting error messgae "Bad file mode", for the last line. useer def variable "a" is declared as public.


If filexist Then
  Open App.Path & "settings" & vehnumber & "" & today & ".dat" For Append As filenum Len = Len(a)
Else
  Open App.Path & "settings" & vehnumber & "" & today & ".dat" For Random As filenum Len = Len(a)
End If

r = LOF(filenum) / Len(a)
r = r + 1

a.time = v_time
a.lon = v_longitude
a.lat = v_latitude
a.speed = v_speed
a.course = v_course
a.state1 = "0"
a.state2 = "1"
a.state3 = "2"

Put filenum, r, a


please correct the mistake in this code or any suggestions


P.V.Velan



Edited by - vadivelan_vbcity on 7/22/2004 8:35:55 PM

Printing Report In DOS Mode Through VB
Hi all



I'm working on a project related to data base and want to generate repors
from the tables not using the datareport but using the DOS mode printing
through text files. Kindly help me how to redirect the output to text fie
in formatted manner and then redirect the text file to print on user demnd.




The customer demands it as datareport uses thicker fonts and consumes muh
more time for printing large report than the DOS mode report in text fil.



Waiting for your kind help, with some example, please.





With thanks in anticipation



Rajiv

Disable Icon Drag Mode In Listview
Hey

I'm trying to disable the drag mode for an icon in a listview

any idea

manu

ps:check attachment for example where you can drag icon in the list view

Detecting Full Screen Mode (NOT Resolved)
changed my question... please read below.

Open Access In Maximize Mode***RESOLVED***
I posted earlier, and I was given the idea to use the autoexec at run time for my masterform in access after clicking my command button to open the access application from vb. well...
That does maximize the masterform, but Access still opens minimized on the taskbar. Is there any way to maximize the whole application of Access when I call it open...
I tried this from another post....

 Code: DoCmd.RunCommand acCmdAppMaximize

but this does not maximize the whole entire Access program. I am using a command button to open a database as the line below shows:

Code: runme = Shell("C:Program FilesMicrosoft OfficeOfficemsaccess.exe C:Inventory.mdb")

It works great, but opens in minimized mode...
Can you make it open in MAXIMIZED mode..?

It keeps telling me "object required" when I paste the DoCmd.RunCommand acCmdAppMaximize into the code lines
What am I doin' wrong here? Should I be telling it in the acCmdAppMaximize line what application to Maximize? Example:

Code:acCmdAppMaximize = ("C:Program FilesMicrosoft OfficeOfficemsaccess.exe")

NMP


"If you can't convince them, confuse them" - Harry S. Truman

Edited by - NMP on 3/10/2004 7:07:41 PM

Need Help With Landscape Mode In Report Designer In VB6
I've got a report that I need to convert to landscape in order to accomodate extra fields. So, in code I call the report like this:

SFSReport.Orientation = rptOrientLandscape
SFSReport.LeftMargin = 500
SFSReport.RightMargin = 500
SFSReport.DataReport_Initialize
SFSReport.DataReport_Activate
SFSReport.Refresh

the report comes up landscape, howver, if i move the left margin of my report (in design mode) anywhere close to 8'' or more, i get the "the report width is greater than the page width". I dont get it, because I've set the margins very small (in code), and when i set my report back down to 7'' or so i have so much space aviailable when hte preview windows displays the report. it's like it's in landscape mode but constrained to 8.5x11 dimensions or something.

here's what i mean.. i can't make my report any wider or i get an error and it won't preview or print:

http://tinypic.com/1ragis

here's what it looks like in preview mode.. lots of space but i can't use it!

http://tinypic.com/1rahj9

any help would be greatly appreciated.

How To Print In Dos Mode With Crystal Report
Hi Friends,

I am using vb6,Sql server 7,crystal report 7
on windows 98 machine. I am using dot matrix
printer for printing my reports. I have created
many reports in table format.It is taking more time
to print the report in dot matrix.


People say that applications created in Windows environment
will take more time to print then applications created in
Dos environment. Is that true.Printer Representative say
that in windows ,controls such as determining font,font size
is handled by windows itself,One cannot set these setting
through printer settings.

Is it possible to print the reports created in Crystal report
to print in Dos mode. How to do it.

Also suggest me which font(i am using new times roman)
to use so that printing will be carried at high speed.

Please help me.


cthirus










Edited by - cthirus on 7/19/2002 7:03:13 PM

Printing Crystal Report In Dos Mode
hello
i want to print crystal report generated from VB in Dos Mode
please can anyone help me
Thanx for prompt response

Disable Label Wrapping In ListView Tile Mode
Hello!

Does anyone know how to disable label wrapping when the ListView is in Tile mode?
I tried setting the LabelWrap property to False and also tried to apply the LVS_NOLABELWRAP style, but it didn't work.

Regards,
Sebastian

Copyright © 2005-08 www.BigResource.com, All rights reserved