-
- Making settings mandatory and trusting locations
by MadMattie
- 8 Replies
- Last post
by Tall Dude
- Hi everyone,
I'm working in a 300+ workstation school site which has 1500+ users. I have installed VB 2005 and setup the settings that I want them to have.
How can I restrict Visual Basic so that it's 'profile' settings stay the same for each user after they log off and without an error message saying that it 'can't be written to I have tried restricting the settings file and
-
- Windows application suggestion
by cc96ai
- 2 Replies
- Last post
by Frank Carr
- Hello, I want to build a window form application which have several forms e.g. Products , Inventory, report, user manager , etc. my question is whats the best architecture to build them together - MDI (I dont want to user to resize the child window, can I disable them ) - SDI with tab panel / layer (kind of mess) - Show dialog on each form (but i just want to display one form ) - other suggestion
-
- exe decompiling Native Code ???
by -ande-
- 3 Replies
- Last post
by ReneeC
- i have lost 5-6 old VB (VB6 and VB.net) projects from my old pc but i still got the .exe files, os i thougt i cold decompilde them and it worked for all my .net projects but when i came to the VB6 projects i onely got native code and i dont know if am right or not but native code is source code its just decrypted right and if am riight is it posible to convert or something the native code back to
-
- VB Active X DLL fail on 64 bit while we use through VB script
by Anuj Purwar
- 4 Replies
- Last post
by spotty
- Hi, I have created a VB ActiveX DLL inside which I kept a single function. which dll is used by the VB script, inside script I create a object using "CraeteObject", This script run correctly On win32 OS but on 64 bit OS gives the error "Can't create the object" (Similiar). Please help me to solve this problem. Anuj set obj = createobject("Project1.Class1") call obj.test On 64 bit OS fails on crea
-
- BinaryFormatter Error
by vb2005
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I have a webservice returning a serialized class
as
Webservice
Function GetImage(code as string) as Byte()
Dim objBitmap As Bitmap = GetTheImage(code)
objBitmap.Save(ms, ImageFormat.Bmp)
Dim ic As New ImageClass
ic.myImage = ms.ToArray
Dim bf As New BinaryFormatter
Dim ms1 As New MemoryStream
bf.Serialize(ms1, ic)
Retur
-
- Running a function in another form
by Hayd3n
- 3 Replies
- Last post
by Hayd3n
- Hello Everyone, I'm having a problem in Visual Basic .NET 2003. I'm creating a basic XML Database (an Address Book) with two Forms. Form1 lists the contacts from an XML file and opens Form2 Form2 adds a contact to the XML file At the moment, Form1 opens Form2 and Form2 can write data to the XML file. I want to run the function "refreshData()" in Form1 when Form2 modifies the XML file (i
-
- vb2005 string to get an image. wrong type apparently.
by Looseleaf
- 10 Replies
- Last post
by Looseleaf
- Hello
A trivial issue for you guys.
I have written an application that builds an image address string depending on what the users does.
i have for instance
dim where as string
where = "head_prog.my.resources.brain1100"
picturebox1.image = where
This address works in that if i simply type it in the image appears.
ie picturebox1.image
-
- I am trying to use VB.net to backup selected data files on a daily basis has anyone else tried this...
by BHz00
- 14 Replies
- Last post
by Jason Payne
- I am trying to use VB.net to backup selected data files on a daily basis has anyone else tried this My first attempt is copying everything in a folder, not selectivity. It isn't easy for me to determine file size unless I basically open the file, does anyone know somewhere to find more detailed information the Que or for Idiots books
-
- Good resources for programming Word & PDFs using VB 2005
by Shodin
- 11 Replies
- Last post
by Shodin
- Hi all, I'm needing to create quite a wide array of Word and PDF documents from a VBE 2k5 program I've been working on. However, I haven't a clue as to where to start. I'm also needing to write the Word documents so they'll be compatible from Word 2000 on up to 2007. If anyone can point me in the direction of some good resources and/or books on how to do this I'd greatly appreciate it!
-
- Last Help needed to finish my program .
by Mental
- 12 Replies
- Last post
by Mental
- Hello first off all thatnks for the help on other 2 problems but i have another one i made a module for
a game trainer in visual basic 6 and now when i put the code in module made in vb6 in to the
module made in vb 2005 i get 2 diffirent errors one is hProcess is not declared i did fixed this my self by
puttin hProcess in to the "hProcess" so it works now but this second problem
-
- Can't Automate Excel From VB2005
by ofireps
- 5 Replies
- Last post
by ofireps
- When I try to make a new workbook from excel it doesn't work and returning the following error:
System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147319784 Message="Old format or invalid type library. (Exception from HRESULT: 0x80028018 (TYPE_E_INVDATAREAD))" Source="Microsoft.Office.Interop.Excel" StackTrace:
-
- Problem Installing VS2005 Standard on new computer
by Colin Reid
- 1 Replies
- Last post
by Spidermans_DarkSide
- I have been using VB2005 Express since November 2005 and VB2005 Standard on a three year old Pentium 4 computer with 1GB of RAM, integrated graphics and Windows XP SP2 with all the latest update.
I am trying to transfer to a new Compaq Preasario with Inter TM2 6400 dual core processors, NVIDIA GeForce 7500 LE graphics and 2GB RAM and XP SP2 updated.
I have loaded OfficeXP, Norton Internet Se
-
- the always on top window..
by Anmolarora
- 2 Replies
- Last post
by Bruno Yu - MSFT
- this always on top window.. does that always have precedence over all other windows when we hide it.. is it still active
-
- Word Interop creating Tif's on some machines but not others
by Jason56
- 5 Replies
- Last post
by Ancient Brit
- I have written an application which uses MS Word to perform a MailMerge with data entered into a VB form to generate letters to be sent out to people. Some machines are expieirencing issues where a TIF file generated by the Microsoft Office Document Image Writer printer are invalid or corrupted files. I have had our Tech group make sure to apply the SP2 patch to all of the users MS Office. The ver
-
- DB2 data adapter problem
by kruch
- 2 Replies
- Last post
by kruch
- When I try to configure my data adapter (IBM OLE DB Provider for DB2) I get the following:
The wizard detected the following problems when configuring the data adapter "daTest".
Details:
Generated SELECT statement. Generated table mappings.
Generated INSERT statement.
Generated UPDATE statement. Could not determine which columns unique
-
- Invoking Mouse Click
by halfazner
- 7 Replies
- Last post
by Bruno Yu - MSFT
- Hey, I'm wondering if it's possible to invoke a mouse click inside/outside a form. I don't mean invoke a mouse click event but, the actual mouse click itself. Am I make any sense lol For instance, If I had my mouse over the start button on the taskbar, and pressed [Enter], I want the start menu to appear. I don't specifically need the start menu to appear, this was just for example sake. Or if I
-
- C# reference for VB
by Kaberto
- 7 Replies
- Last post
by David Anton
- Hi!
I'd like to use some C# codes in my VB.Net 2002 project. I've been told to compile the C# code and reference it to VB unfortunately I really dont know how to. I have the C# project and I tried "Add reference", but it doesn't work.
I tried converting the C# code to VB but it did not work the way it does in C#.
Care to shove/kick me into the right direction
-
- Gridview DataKeyNames
by Yoshi_Roshi
- 2 Replies
- Last post
by Yoshi_Roshi
- I am trying to get two values out of a GridViews Selected row. I can only seem to get one value. I set the DataKeyNames to be SerialNumber and ModelId, but I can only find a command that will give me the value of the DataKey at Index 0 which is Serial Number. How do I get at that value of the second DataKey Model Id
Also I tried to change the DataKeyName on the Fly thinking that this might wor
-
- Printer Compatibility Library - Rotate Text
by Alexandre Tarifa
- 1 Replies
- Last post
by JohnHart_MSFT
- I write a simple text
Dim print As Printer
print.CurrentX = x1
print.CurrentY = y1
print.Print("Hello")
I need to rotate this text... example 180o, 270o and 360o. Is possible
Tks
-
- Adding an image to a string
by rednikcam
- 4 Replies
- Last post
by rednikcam
- Hey guys, I was wondering if you could help me with something. I have a combobox that changes the background colour; this is done by maintaining a dictionary and giving a value to each colour. But I don't need help with setting up, I just need to know: How to do you add images to a string The current code to add a colour to the string is: MyBgImgs.Add("blue", Color.Blue.ToArgb().ToStrin
-
- Displaying hexadecimal data as float. What sort of result are you after?
by Mojosound
- 6 Replies
- Last post
by SJWhiteley
- My setup is: SQL Server 2005, Visual Web Developer 2005 Express (VB) I have a SQL Server database that gets a large C++ data structure that contains longs and floats serialized as an ASCII string where all bytes were converted to hex. The bytes have to be reversed because of endieness. I have been tasked with creating a page to dispaly the parsed data. I know that I can extract the data in groups
-
- Write Data From DataGrid to the body of Excel
by aterickson
- 2 Replies
- Last post
by aterickson
- In the Outlook.MailItem.Body =" " I need the body of the email to populate the data from the datagrid. Anyone know how this is possible
Thanks!
-
- view/modify file Metadata
by Peaceful World
- 5 Replies
- Last post
by nobugz
- Hi,
I am developing desktop applications using .NET 1.0,1.1 thru VS 2002. I need your help. I want to view/modify file metadata like Author, Title, Company, etc. that file may be a txt / doc / exe / xml / html / pdf any format... I found an example for this in CodeProject site. In that project they give dsofile.dll and source code for viewing/modifying file metadata. I tried to register tha
-
- Database Connection
by chris_rulez001
- 5 Replies
- Last post
by dbKemp
- Hi, i need help trying to connect to a microsoft access database file for a login.
here is my current code:
Code Block
Public Class LoginForm1
Private Sub OK_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
Dim username As String
Dim password As String
Dim r1 As String
Dim r2 As Stri
-
- Tip of the day
by TonyFlora63
- 5 Replies
- Last post
by TonyFlora63
- HI
Can someone tell me if the Tip of the day feature is supported in VB 2005, and how would you go about setting it up
Tony