Unable To Absorb Official MS Docs
Sep 11, 2009
I've been searching the web in general (and this forum specifically) for information on setting up Help documentation on a project - but the 'help' in the search just seems to give too much.I've never set up help documentation and was wondering if there is a good primer anywhere on the web or in a book - I've looked through VB books and none cover this topic also the I've so far been unable to absorb the official MS docs.
View 2 Replies
ADVERTISEMENT
Dec 2, 2011
What is the name of the character at the end of each of these lines?
Dim _int As Integer = 1I
Dim _short As Short = 1S
Dim _long As Long = 1L
[code].....
View 10 Replies
May 13, 2009
Is there any official notation for private fields? Like mVar, m_var or another notation?
View 10 Replies
Sep 1, 2009
Is it possible to make program with VB to read the clock from websites? The official U.S. time - clock. How can I do that? And trigger actions based on the clock time.
View 3 Replies
Jul 9, 2011
Im writing a program to download a file from a official website every Sunday. The adress of this site keeps changing. Does anyone know how I can link to this address?
[URL]
I've highlighted the part of the adress that changes. As you can see, it's a date, but not nessesarily the current date. It could be yesterday, or the day before. I've tried something like this:
Dim link
link = "http:www.fiskeridir.no/content/download/4641/30774/version/254/file/Register-internett-*.xlsx"
This doesn't work.
View 4 Replies
Dec 30, 2010
just trying to decode my signed request.. I've done a bit of searching and haven't found a VB alternative..The signed_request parameter is a concatenation of a HMAC SHA-256 signature string, a period (.) and a base64url encoded JSON object.
signed_request:vlXgu64BQGFSQrY0ZcJBZASMvYvTHu9GQ0YM9rjPSso
eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsIjAiOiJwYXlsb2FkIn0
PHP function to decode request:
<?php
define('FACEBOOK_APP_ID', 'your_app_id');
define('FACEBOOK_SECRET', 'your_app_secret');
[Code]...
View 1 Replies
Aug 2, 2011
I've got a a simple database setup with a parent child relationship.Imagine one expense report can have many line items associated with it.Now inside of this line items table I have a column that stores the link / pathof an attachment on our local storage server. Some example values could be:
\myserverattachments1.pdf
\myserverattachments2.jpg
\myserverattachmentssomeDoc.docx
[code].....
View 2 Replies
Nov 14, 2009
I have several docs in a folder in iPads dir (Help Files). When the user selects help it shows a dialog which has a listbox, richtextbox, and three buttons ( open, close, update < to launch the updater)
When the form loads its supposed to add all the files in the dir. It does but the full path and name. This is the code I have>>>If System.IO.Directory.Exists(Application.StartupPath & "Help Files") = True Then
[Code]...
View 5 Replies
Sep 27, 2011
I have a folder that contains multiple word documents. I need to monitor this folder for any changes in these word documents. I am facing the following problems.
File system watcher never reports the exact name of file being changed. For example for file abc.doc, it reports "~$abc.doc is changed" on first save.For all subsequent saves to that file, OnChanged event in the following code is not called. When I changed the filter to watcher.Filter = ".", I found that for subsequent saves, it reports "~WRL0001.tmp is changed".
So the bottom line is that I never know the exact name of the file changed.[code]...
View 2 Replies
Jun 14, 2010
I want to be able to code a small system that reads a set directory, for new PDF or Word DOC file types.
Then i want to print them.
I understand, with reference to this thread, - [URL]
and this one - [URL]
that i can use MS Word automation to print the document, but i would like the application to read the folder constantly in real time and then print what ever is 'new' in the folder.
Would there be any advantage to code my own print driver?
View 3 Replies
Jan 27, 2010
I'm reading a text doc from my hard drive. I'm reading it via a stream reader.
On a button click i'm reading it again, because the contence of the text doc may have been updated, what I want to do is show in one textbox the actual file and in another one just what is new. How can I compare them?
View 16 Replies
Apr 30, 2009
Is it possible to build a search engine to use on a DVD that contains Word documents, text documents, etc.? Say I wanted to find all documents with the name "James" in them. In the search box I would type "James", and it would return the results of everywhere James is found. Or suppose I wanted to find all Land Deeds where James is found, is that possible? All search engine examples that I have seen on VB Help has to do with databases, and I guess to an extent, my DVD would be the database.
View 6 Replies
Jan 18, 2011
I need help in coding VB 2008 so that it can combine several word document into one to be used for a mail merge template.I need to:
1) combine the word doc (does not work see note 1)
2) use this new doc a for the mail merge (works, only for the rewrite doc)
3) create a pdf. (works, only for the rewrite doc)[code]
View 3 Replies
Dec 17, 2009
I know there is a lot of forums out there regarding this, but I haven't been able to find what I need and I am somewhat new to this. I would like the simple openfiledialog code button click to attach a word document or PDF and upload it to a SQL server table to be saved. I would like to use my current datasets and controls without creating another SQL query within my project as I have seen in other forums, unless that is the only method. I know that the data needs to be saved as an image type with the file name and extension but I just need the code for this. I would then like to download the doc or pdf to view it within a form.
View 3 Replies
Nov 2, 2009
This is the MSDN example for handling the BeginReceive callback.BeginReceive is called over and over until no more data is available, i.e. EndReceive returns 0. However I am finding that the callback is only fired when there is data available.
I'm guessing that the example is simply wrong or refers to expected behaviour in a previous version of .NET, although it says it is for 3.5.So how do I ensure I have received all of the available data?
[Code]...
View 3 Replies
Dec 11, 2009
I'm starting a new project; trying to be more strict than previous ones. I've set warnings as errors in the build I've added FxCop to PostBuild. The one last thing on my list os require people to add inline docs for all classes/non-private methods/properties.
View 2 Replies
Apr 15, 2010
I created a very simple program that organizes my various document and opens them when the button is clicked inside the program with the process.start method. The problem is that when i take the executable file and move it to another machine or cd to run the program the process.start filepath is no longer valid.
[Code]...
View 19 Replies
Jun 14, 2010
My team is using the Mere Mortals .NET framework from Oak Leaf. Being used to working with primarily open source software, I found it excruciatingly painful to find ANY community support for MM.NET. When I asked if there was any, the only place I was given to look for support was Universal Thread, which is a site which requires a membership for search on archived questions. It seems like a third party, pay-for site should not be the primary source of support for anything like this, especially MM.NET which costs $700 per developer. It doesn't seem to me like an entire community around MM.NET would choose to all pay on top of the license just to use a forum. If not Universal Thread, then what is the "official" place to find support for the Mere Mortals .NET framework?
View 2 Replies
Apr 18, 2012
I've given a job to convert old data in table format to new format.Old dummy data is as follows:
<table>
<tr>
<td>Some text 1.</td>
[code].....
View 1 Replies
Jan 2, 2010
I have a property which is an array of items but when I come to add an item to the array it says I must use the new keyword, but I can't use a new keyboard with a property.
(item is a custom class)
Private itemsvalue As item()
Public Property Items() As item()
Get
[Code].....
how I can add the xx item to the array of items.
View 3 Replies
Jul 25, 2010
Theres no error that is stroked with red but when i try draging a icon i just dont work ::(
heres the code:
Imports System.Runtime.InteropServices
Imports System.IO
Public Class Form1
Public rowz = 50
[code].....
View 4 Replies
Nov 2, 2009
I have a form that is first displayed as 425 x 66. When you press a button, the form expands to 425 x 398 and a message appears (a label prooperty) with the text: Processing Files. When the files are finished prosessing, a listbox appears and summarizes which records were added to the database.
The label begins as Not Visible. After I change the size of the form, I change the label property to Visible.
This used to work, but now, for some reason, the text simply doesn't appear.
I tried changing the lblproperty to Visible at startup but when I do this I get a black bar where my lable should appear.
View 2 Replies
Dec 30, 2010
I've migrated a VB6 Windows based system into VB.NET (version 2008) thru the use of wizard. I'm able to run the program and generate ralated reports at the development PC BUT when I installed it on a server, the system seems not runing at all (no report being generated) and without any error. I tried to install it at another 2 different servers and having the same result...no report being generated and without any error.When I installed it at a PC (NOT server), the system able to generate reports.
[Code]...
View 2 Replies
Oct 23, 2011
I am trying to add a Handler, but it do not work. what am I missing? I getting this error.
Dim EditingTextBox As New TextBox
Dim Save_Button As New Button
Dim Cancel_Button As New Button
Private Sub Labels_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
[code]....
View 5 Replies
Jun 29, 2009
I have a form with several listviews. 1 master with two columns and 10 other all with two columns. I have been able to do a drop from 1 to the others and among the others. I want to move the second column around also. I can't read the subite.
[Code]...
View 1 Replies
Jul 1, 2010
I'm passing some values to another site to get the values from it.below mentioned is the code which I used in VB.NET
Dim status As
String
Dim strHTML As String
Dim xml = xml.open("GET", "http://www.xyz.com", True)
xml.send()
[Code]...
View 1 Replies
Dec 27, 2011
I'm running a 32-bit vista home, and I'm trying to instal Visual Basic 6.0 Enterprise Edition, but I seem to be having problems.
View 1 Replies
Mar 20, 2010
I am developing a project that is dealing with CCTV camera made in china. I am provided by some DLLs from the company. Now i want to consume that dll into my application. I have tried default Visual studio's ADD REFERENCE features. then I have tried tlbimp.exe but it doesn't work.[URL]..I have search a lot about dll, some says "Check the dll header" and CLI Header. I opened this fine in notepad and I found only like "This will not work in DOS mode...". what to do next. Is there any way I can consume this file in .net.
I have already tried to add it as reference in Visual Studio 6.0 VB. even it says this is not a valis library.
Still dumpbin.exe is listing the function inside that dll.
I am confused about this scenario. Please guide me what to do with thi.
View 1 Replies
Aug 10, 2011
I am trying to create a Windows Forms control in VB.Net to wrap around a control in an old DLL I created in VC++ 6. I am trying to make a call to an API entry in my control:
Code:
<DllImport("myctrl.dll")> _
Protected Shared Function InitMyControl() As Boolean
End Function
However, when I add a call to InitMyControl to my control's code and try to load the form on the test project, the following error shows up:
Quote:
Unable to load DLL 'myctrl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have tried putting a copy of myctrl.dll into the Debug and Release folders of both the control library and the test project, but I continue to get the error. I even copied it to my WindowsSystem32 folder, but still no luck.
View 7 Replies
Dec 15, 2009
I have a program that I have written using 2005 and .Net Framework 2 SP2. I went ahead and created the snk file placed it in a shared folder on the same server that I will be running the app from. In my AssemblyInfo file I added point to where the snk file is located as follows.
View 7 Replies