Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: swreng
  • Content: Threads
  • Order by date
  1. swreng

    EXTERNAL TABLES IS NOT IN THE EXPECTED FORMAT

    Dear all, I have some db files ( written in paradox) and i would like to open them via microsoft access, when i am trying to do the link of the table, i am getting the following error: "External tables is not in the expecged format." I am using access 2003 with windows xp proffesional SP3...
  2. swreng

    Draw and save on a file

    Dear all, I am looking for an example code, on drawing simple lines on a form and save all the drawing to any image file. Here is my code that drawing 3 horizontal lines on a form. My problem is ,how can i save this drawing to any image file? Many thanks! System.Drawing.Pen myPen; myPen =...
  3. swreng

    OpenReport Method Very Slow

    Hello to everyone, I don't know if this the right forum about my problem: I have an application in vb6 and i am using Crystal Report Viewer for printing purposes in my appl. I made some reports in CR 9 and i execute them from my appl with the OpenReport method. When do that it needs about...
  4. swreng

    Connect a Web Site with a DB

    Hello to everybody, I haven't experience to web applications and i would like your help please in order to understand some things. I want to make the following implementation: There is a simple web site that anyone can visit, now we want to add a feature to that site for a simple...
  5. swreng

    Stored Procedure Execution is slow

    Dear all, I have this stored procedure: update newcampaign set apoklisi= (SELECT 8-Avg(diffprev) from v_periodresults where username=newcampaign.username group by username) This procedure is be execute in 28 seconds from a specific sql server. The problem is that i have restored the db in...
  6. swreng

    DataBind on BackColor Property

    Dear all, In a db table i have 3 columns for the backcolor of a specific object in my form, which is changing according to the record one column is for Red the other for Green and the last for Blue.(the column's names are colr,colg,colb) So i am trying to to bind the backcolor property of the...
  7. swreng

    Get Property Value of a Control from String

    Dear all, if i scan all form's controls with for next is it possible to get a specific property value of the control by passing a string with property's name. For example: Dim ctl as Control for each ctl in me ' Call a function which i will supply it ' like this: ' ReturnProperty("Width")...
  8. swreng

    Disable KeyBoard ShortCuts on a textbox

    Dear all, Is there anyway to disable the keyboard shortcuts from a textBox (ctl+v,ctl+c,ctl+x Shift+Insert,Shift+Delete,Ctl+Insert) in order the user can not copy,cut or paste data on it only to write something. Also i would like to hide or disable the pop up menu which is displaying on right...
  9. swreng

    Catch click on menuitem which is creating dynamic (URGENT)

    Dear all, I have a context menu which is completely empty on design time and i supply it on run time from a database's data My problem is when i am displaying on the user how will understand on which menuitem has click the user in order to execute some commands. Many thanks
  10. swreng

    Scanning all form's object from the MdiParent Form

    Dear, I have a project with about 300 forms. In a table of my database i have their names. So i would like to record all the objects of every form in my db by writing something on the mdi parent form. I try with CreateObject and GetObject methods by passing the string of the form's name, but...
  11. swreng

    Disable a specific tabpage on runtime

    Hi to all, I would like to do a simple thing with a tabcontrol but i can understand how. I have a tabcontrol with 2 tabpages and i would like to disable the second tabpage before the user fill some data on the first the point is that i can't find Enabled or Locked or ReadOnly Property. This...
  12. swreng

    Print parameter With multiple values URGENT

    Dear all, Is it possible to display the values of a parameter with multiple values Discrete and Ranges. I made a formula field like this: dim str as string dim i as number for i=1 to ubound({?STORE}) str=str + chr(10) +chr(13)+{?STORE}(i) next i str=right(str,len(str)-2) formula =...
  13. swreng

    Display fields of float type without e-xxx

    Dear all, I have in my database some float fields which they contain data like this: a) 0,000000000025 b) 0,000036 if i make a simple select statement then i will have a result like this: a) 5000000000000001E-11 b) 6000000000000001E-5 Is it possible to avoid the above format and display it...
  14. swreng

    Controls on TabControl are Hidden

    Dear all, I have a tabcontrol with 2 tabpages and 3 textboxes in each tabpage. Now i am trying to retrive the visible property from the controls in order to execute some more commands according to the result of the visibility (true,false): int i,j; for(i=0;i<TabControl1.TabPages.Count;i++) {...
  15. swreng

    The specified module could not be found (URGENT)

    Hi to all, I have the following code which opens a word document and then save it as RTF format. The problem is the following the code is working perfect from a development machine but it has an error on another development machine this: "An unhandled exception of type...
  16. swreng

    Get the RTF contents of a microsoft word document

    Dear all, I would like to make a code which reads a word document and display the rtf contents in a richtextbox. I wrote the following but i can't find how will i get the rtf data of the Document. Is it possible or not? The method: Word.Document.Content.Text returns a plain text Is there...
  17. swreng

    Clear free space from an image

    Dear all, I would like to do something very simple but i don't know if it possible. I would like to load an image file from the disk into a bitmap and clear any free space at the right of the image save it again with the save name. BitMap bt=new Bitmap(Filename); I would like your help if...
  18. swreng

    STORE IMAGE DATA FROM A FILE (Urgent Reply Please)

    Dear all, Could anyone give a simple example on how can i save image data on a table which use image field? I have some tables which they have image type fields and i dont' want to keep the image path but the image data (This is a requirement of my client). So is it possible from the path...
  19. swreng

    Supply a stored procedure with byte array

    Dear all, I would like to update an image field on sql server with a stored procedure "INSERTIMG" which receives one parameter varbinary(16). So i am reading a picture file i am storing it in a byte[] array "bts" and i want all the byte array become the parameter value for stored procedure...
  20. swreng

    SAVE IMAGE DATA ON SQL IMAGE FIELD FROM FILE

    Dear all, Could anyone give an example on how can i save image data on sql image field from an existing image file ? Many thanks

Part and Inventory Search

Back
Top