VBA Library Doesn't Appear To Be Working
Apr 28, 2009
My module won't run, it can't find the project or library, and highlights: the Date function in: MsgBox (Date).This is happening to several VBA functions, but this is the first one.I have all the libraries referenced that I think I need, especially the Visual Basic for Applications checked.There is a MISSING: Office12 library, but the Date function is part of the VBA library, so I don't think this should be the issue.
View 2 Replies
ADVERTISEMENT
Oct 13, 2010
I use Visual Studio 2003, VB.net, NetFramework 1.4 and Windows XP I have been using the following Code Snippet for a number of years in both Web Services and Windows Applications. However suddenly around the 29th September 2010 it has stopped sending E-Mails from both Web Services and Windows Applications. The same problem has happened not only to my own Network but on two other Networks, one using XP as its Server and the other using Server 2003. All 3 of these are using different ISPs.
[Code]...
View 1 Replies
Jun 21, 2010
Ok, I have a usercontrol in a Class Library Projects which contains a Button, 2 Listboxes, and a Progress bar. My code is to look for a file and if its there post to one listbox and fill in the progress bar and also put the programs current task in the other listbox. Recently, I started using VB.Net 2010 Express and wanted to turn part of a form into a .dll so it would be easier to update. I started getting a error and had to declare a variable as a New instance of UserControL1 (my user control). When I did this, the control would run, but the Progress Bar doesn't fill and neither of my listboxes show anything. What Should I do?
View 1 Replies
Jul 7, 2010
i am using VB 2008. And i want to tell you that there are many basic features not yet available with controls. 1] Blank Date (Null Date) with DateTimePicker Control (user may not want to write date for some fields) 2] NumericBox for Writting just Numbers having properties AllowDecimal, AllowThousandSeperator, Min. n Max.Ranges. 3] Multi Column List for ComboBox. 4] 'Contains' type Lookup (finding) in ComboBox and AutoComplite enabled TextBox which finds for the strings in any part of String. Why developers needs to rely on third party control vendors for these Basic Features?
View 5 Replies
Sep 20, 2009
I'm a VBA programmer and can do Office integration in Office applications.I'm programming in VB in VSTS 2008 and following these steps to create an Excell application at runtime: [URL] but it is not working.The issue I'm having is when I add the reference, the library is not recognized by VBE intellisense and compiler, so: the code doesn't run.When I use late binding technique and declare variables as objects, the code runs OK, but I don't want that way.I tried adding the references in two different ways:
1 - Menu Project / Add Reference / tab COM / Microsoft Excel 11.0 Object Library / OK
2 - Menu Project / VB Properties / References / Add / Microsoft Excel 11.0 Object Library
Both methods didn't work.
View 11 Replies
Jun 29, 2011
I am currently developing a service using the SharePoint 2010 Client Object Model to programmatically upload Excel worksheets to a Drop Off Library and then set the properties on the file. This process is working well. However, the Drop Off Library is governed by Content Organizer Rules that aren't being applied to the uploaded file. I have examined every property I thought I could have missed: [code] What's most frustrating is that if I edit the document properties using the Web UI and check it back in without making any changes, the file is moved to its final location. What might I have overlooked that is preventing Content Organizer Rules from being applied to newly uploaded files when using SP2010 COM?
View 2 Replies
Oct 1, 2010
I am developing a Winform Program in visual basic and I am using Access Tables. I want to use a bindingsource filter to do a search on Stock descriptions. I am using this but it doesn't seem to be working
Me.StockBindingSource.Filter = "ITEMNAME LIKE '%" & SearchTextBox.Text & "%' AND [Supplier1 Price] <> 0 AND [Supplier2 Price] <> 0 AND [Supplier3 Price] <> 0"
What's happening is that I am only seeing products where all 3 suppliers have a price listed that isn't 0. (Products have a zero price when it becomes discontinued or supplier doesn't sell that product but we may have purchasing history against it so it can't be deleted). Therefore we do end up with products where all 3 suppliers have a zero cost. These are the products I don't want this search to return.
View 10 Replies
Dec 18, 2009
I have built a Wpf-ControLibrary-Project to put some Controls there. In one Control i need to get some informations about assambly, Version and directory path.in the past i have done this one:
Dim msg As String
msg = "AssemblyName: " & My.Application.Info.AssemblyName & Environment.NewLine
msg &= "Version: " & My.Application.Info.Version.ToString & Environment.NewLine
msg &= "DirectoryPath: " & My.Application.Info.DirectoryPath
MsgBox(msg)
but this doesnt working anymore. I get an Error which told me that Application isn't Party of the My Namespace.
View 2 Replies
Sep 14, 2010
The below query fails with Null Reference Exception when there are elements in BOMIDs where MatID property is nothing.I thought the 'x.MatID isnot Nothing AndAlso' would prevent the x.MatID.Process part of the where from being executed. There are a couple elements in the BOMIDs collection that where MatID is nothing.
From x In BOMIDs _
Group Join y As PurchasedProcess In SpecialProcesses _
On x.MatID.PurchasedProcess Equals y.Name _
Into G = Group _
[code]....
View 2 Replies
Nov 23, 2011
I have used persistance class and used following LINQ query.[code]but it throws an error saying. "Specified Method is not Supported".How can i get data from two table using XPO Persistance Class?
View 1 Replies
May 3, 2009
I'm very new to VB, so I was in the very first tutorial, it has me play a sound file. So I put that in, ran it, and it came back with an error saying "system cannot find this file." I guess I'm not terribly surprised, since the file they gave has no C: or anything like that. What I want to do now is play my very own sound file, but I don't want to go through the whole C:Documents and Settings... thing, so is there a way I can put my own sound file in the project directory and say something like %ProjectDir%/sounds/mysound.wav?
View 13 Replies
Feb 5, 2010
i've made a tabbed webbrowser (but i'm new and a noob with VB.NET)The tabs system is working, but the progressbar doesn't work and my titles aren't changing.
Imports System.Web
Imports System.IO
Imports System.Text
[code].....
View 1 Replies
Aug 25, 2009
I have intellisense when i type this:<p><%= boolean.falsestring %></p>
I don't have intellisense when i typ this:<p class="<%= boolean.falsestring %>"></p>
To further clarify (see line below), the first <%=%> doesn't show me intellisense popup, the second however does, why is that? <p class="<%= boolean.falsestring %>"><%= Boolean.FalseString%></p>
View 2 Replies
Mar 4, 2010
Here's the routine:
[Code]...
The problem - The btnPause doesn't pop up until AFTER the thread sleeps, but the other two buttons works correctly. What the heck is going on? Here, I'm using the Sleep to simulate doing external events yet to be programmed.
View 6 Replies
Jun 21, 2011
I have a Visual Basic Class Library project. It generates a DLL. Is there a method to generate a static .LIB to which I can do a static link?Alternatively, can I do a static link against a DLL?
View 6 Replies
Jun 12, 2011
I am trying to change the background color of a tooltip
I am using tooltip.backgroundcolor = color.colr
No errors but thecolor doesn't change
View 5 Replies
Sep 3, 2009
I found on msdn samples and modified (add Thread.GetDomaind.UnhandledException)
<SecurityPermission(SecurityAction.Demand, Flags:=SecurityPermissionFlag.ControlAppDomain)> _
Public Sub Main()
' Add the event handler for handling UI thread exceptions to the event.[code].....
View 1 Replies
Jun 18, 2009
It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:
(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.
(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.
(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]
If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.
View 9 Replies
Apr 16, 2009
The form is an About Us form so has nothing on it only a text box and a OK button.
[Code]...
Why won't the button close the form? I'm puzzled, I tried another button just in case with the same result. UPDATE: I set a break point on Me.Close() and it isn't reaching it when I click the button, I created a new button and the same thing happened.
View 4 Replies
May 4, 2009
Anyone know of a free SMS library or webservice for .NET that will allow me to send text messages to people's cell phones?
View 8 Replies
Apr 22, 2009
I have a pdf file. I want to use visual basic code to print the file to another pdf, with my particular pdf settings, which includes
- orint in landscape format and
- print multiple pages on single page. (4) are there any libraries. is it possible?
Can System.Drawing.Printing Namespace do it? Is there any way to set that print multi pages =4 in PrinterSettings I was unable to find ...what all values print settings can take?
View 1 Replies
Dec 29, 2009
there's a lot of dlls i've got one in the Release folder and one in the Debug folder under bin, there seem to be one in the obj folder as well.they all seem to work fine, but which should be the correct one?
View 4 Replies
Aug 21, 2011
Possible Duplicate:Building F# library to be used in C#
Let's say I have the following function.
let rec fib n =
match n with
[code].....
View 1 Replies
Oct 16, 2009
I am looking for Graph libraries for .net. Are there any out?ps: I mean GRAPH libraries, not graphics nor charting libraries!
View 12 Replies
Oct 18, 2010
I have two projects; A and B, where B needs to use some classes that are in project A. Hence, I added B to A's solution, and in B I added a reference to project A.
Is that sensible? Or should I rather put those classes in a class library?
I see that if I further want to open form/program B from a menu option in project A, then A needs a reference to B. Which would not be possible if B already had a reference to A. However if I use the class library for the common classes, then it's ok as B doesn't need the A reference.
Does this sound logical? It would be nice to know what are typical reasons for putting projects in the same solution, and if it's advised to use libraries aggressively to refactor common code between two projects, even if it's just a couple of classes.. Yet I've never made my own library, so a bit unsure on when to use it.
View 5 Replies
Mar 1, 2010
I have a DLL library, but I am not familiar with it. How can I get its usage in vb.net?
View 2 Replies
Apr 16, 2010
I was looking at tutorial that was detailing how to Build a Class Library Component and Consumer Client Application. One of the steps involved was how to add a reference to a library. Am I right in assuming that the reason for adding a reference is to show Vb where class library is located. I would also like to know if it is possible to add the reference within the code. In the tutorial the reference was added via the top menu (selecting project and add reference).
View 4 Replies
Jun 3, 2010
I am running through an issue for which I am unable to find a solution.My goal is to:1- compile a x64 .NET library (vb) which has a simple User Control 2- Use this dll in a .NET WinForm application targeted to x64 CPU ONLY.
I have been able to do the first step, but now I am unable to add the library into the VisualStudio Toolbox. With our previous x86 version we had just to right click to VS toolbox, click on "Choose items...", then brows to the needed x86 assembly. If we do the same selecting a x64 lib (of course I am running vs on a 64 bit OS), we get the following message "[DLL PATH] is not a Microsoft .NET module."
View 1 Replies
Apr 12, 2010
I have decided that I want to learn a bit about sound and how it works so I thought that I would make an application that reads and plays MP3 files. I know that this will be very difficult and that I will be re-inventing the wheel, but it's all for the educational purpose. So my questions are; How does it work, how does Windows Media Player plays the data from the MP3 file? How can I, with the data provided in the MP3 file, know what to play, how it should sound? Which method would I have to approach to play the sound provided in the file? If you think that I have too little knowledge on the subject
View 4 Replies
Mar 6, 2010
i have created a dll library and now i want to secure it....and distribute it to other...i want to provide a trial so that the user can see what it can do....how can i protect it...
View 2 Replies