User Profile

Collapse

Profile Sidebar

Collapse
cubekid
cubekid
Last Activity: Mar 10 '11, 11:45 AM
Joined: Nov 6 '08
Location: Philippines
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cubekid
    started a topic Size on disk in VB6

    Size on disk in VB6

    Is there a way in VB6 where I could get the file's "Size on disk" (not the size).
    I cannot achieve this by using the FileSystemObjec t's size property which only returns the file's size.

    If this cannot be done, maybe a help on how to achieve these other options will do:
    1. A way to capture what is displayed in the properties dialog box (right click a file then properties)
    2. A command in the command prompt...
    See more | Go to post

  • Re

    I managed to solve this myself. I just translated a VB example from Microsoft.

    Code:
    {
    			int width = 400;
    			int height = 300;
    
    			Bitmap bmpChart = new Bitmap(width, height, PixelFormat.Format16bppRgb555);
    			
    			OWC11.ChartSpace chSpace = new ChartSpaceClass();
    
    			chSpace.Clear();
    				 
    			ChChart chart = chSpace.Charts.Add(0);
    ...
    See more | Go to post

    Leave a comment:


  • cubekid
    started a topic OWC 11: Is it possible to have combination chart?

    OWC 11: Is it possible to have combination chart?

    I am using OWC 11 in my new web application for displaying charts.
    Is it possible in OWC 11 to combine and display a column and a line graph (Looking like they overlap each other)?
    I tried it using this code but it doesn' t work.

    Code:
    int width = 400;
    int height = 300;
    
    Bitmap bmpChart = new Bitmap(width, height, PixelFormat.Format16bppRgb555);
    			
    OWC11.ChartSpace chSpace
    ...
    See more | Go to post
    Last edited by cubekid; Feb 24 '09, 06:10 AM. Reason: Additional information

  • Re

    Hello. I hope this is what you are looking for.

    Code:
    Private Sub Command1_Click()
     
    Dim msg
     
    msg = MsgBox("Notification", vbOKCancel)
    If (msg = vbOK) Then
    MsgBox ("OK")
    Else
    MsgBox ("Cancel")
    End If
     
    End Sub
    See more | Go to post

    Leave a comment:


  • Re

    Thanks for the reply. I solved the problem by using my 2nd option which I stated before (Request.Form["txtA"]).

    I just created a function that replaces "," with "%2c" so that if a user tends to input a value with ",", the parser will not treat it as a delimiter, thus splitting the returned value accurately.
    See more | Go to post

    Leave a comment:


  • How to pass multiple values in table to another form

    Dev't Tool: Visual C# 2003 and Javascript
    System Type: Web Application

    One requirement of the system is to dynamically create a table on client-side (Javascripting using createElement method.) The table has textboxes inside each cell.

    a few sample code:

    Code:
    for (i = 0; i < 4; i ++) // four columns
    {
      textBoxes = document.createElement("INPUT");
      textBoxes.type = "text";
    ...
    See more | Go to post
    Last edited by gits; Nov 7 '08, 01:19 PM. Reason: added code tags
No activity results to display
Show More
Working...