Search:
Type: Posts; User: T120
Search:
Search took 0.10 seconds.
-
That did it.
Brain cells refreshed!:wave:
-
Thanks for the quick response.
You are right it is C#. My apologies for the error. No ref added yet but bells from long ago are starting to ring.
-
Guys
It's been some time since I last used VB so please be gentle.
I have2 projects within a solution - I in VB, the other in C
C project
Namespace ABCD
-
OK - I've found it and all by myself
I have to say that in the past you have been very helpful and your vb knowlede is commendable. However, as a Moderator, I think you reply was the result of...
-
I appreciate your trying to help - Thanks very much -I'll try somewhere else
-
Sorry - I still don't understand. I'm not even sure what a namespace is.
The new solution consists of 3 projects(Same as the corrupted one)
BSControls(contains Collapsiblegroupbox)
BSGPS ...
-
Guys
i've just had a corrupted solution file so I started new and added 3 existing projects.
I now get:-
Error 11 Value of type 'BSControls.CollapsibleGroupBox' cannot be converted to...
-
That results in:-
There is an error in XML document (1, 1).
-
Can anyone tell me why?
Dim Geocache As FileStream = New FileStream("c:\temp\bs.gpx", FileMode.Open)
Dim serialize As XmlSerializer = New XmlSerializer(GetType(Cache_Location))
...
-
I tried sending to my own email account but the server blocks it :-
http://www.spamhaus.org
I thought this was going to be simple along with detecting the user email client but .......
-
But would someone with a GMAIL account for instance know enough detail to be able to supply the info required for the smtp client address/port etc?
-
My app needs the user to send me an email.
How can they do this if they only use web mail and therefore haven't specified a default mail service?
-
Great - thanks for pointing that out
-
Guys
I've passed object sucessfully to threads in the past but I'm stumped on this one:-
Public Class TileDownload
Structure RequiredTileDetails
Public MapID As String
-
I have a GUI that has an array of images.
The GUI sometimes has to fire a thread to get any numer of these images from the web.
I'm occasionally getting "Object is in used elsewhere" and I...
-
All it needed was a begininvoke. I was getting confused because in the past I have :-
if control.invokerequired then call the delegate else access the control directly.
In this case there...
-
Thanks Guys
I've got a working demo from a friend down the road. It works but I don't understand why. I need to do some reading.
Thanks for your patience.
-
I tried Backgroundworker first, but came up with problems accessing the save dialog in the UI thread.I was unable to set STA in a backgroundworker. I'm ok accessing controls from other threads and...
-
If I understand you correrctly that is what I have done.
BUT because the event was fired from the thread the sub is run by/on behalf of the thread, even though the sub is in the Main GUI.
-
Guys
I'm firing a thread to unzip a file. I need some way of indicating to the parent that the unzip thread has ended. I've tried raise event in the unzip thread to a sub in the parent but this...
-
Solved it:-
For Each m_node As XmlNode In MyNode
'
' Get the coordinates
'
Dim coords As String =...
-
Guys
I've got option strict on.
Dim MyNode As System.Xml.XmlNodeList = xDoc.GetElementsByTagName("Placemark")
For Each m_node In MyNode
'
...
-
I intended accessing them by the originating web site url ie http://tile.openstreetmap.org/mapnik/17/64234/44116.png My original struture contained the URL and the image. But it could also be the...
-
Guys
I'm still confused. All I want to do is create a caches of images in memory to try and save time on hard drive accesses!
If the arraylist.binarysearch uses the binary chop techneque then...
-
Thanks Guys but I'm a bit lost now
Should that be ICompare or IComarable?
Imports Microsoft.VisualBasic
Public Class TileCache : Implements IComparable
-
Guys - I have a windows app and I'm trying to cache images in memory. I have:-
Public TileCache As New ArrayList
Structure TileCacheDescriptor
Public TileURL As String
...
-
Solved it but I don't understand how/why!
Imports System.Xml
Imports System.Linq
Imports System.Xml.Linq
plus it needed the option infer - not needed in the test version even with option...
-
Both Target Frameworks are 3.5
Both have a reference to system.xml 2.0.0.0
Both have a reference to system.xml.Linq 3.5.0.0
Both have an import system.xml
Non Test version has an import...
-
Thanks for that - it solved my initial problem. I've taken the code from a "test" win app and it all worked fine. However, when transfered to my main app I'm getting other problems:-
'
...
-
I'm sorry - I do not understand. With the code as is I get:-
Error 1 Option Strict On requires all variable declarations to have an 'As' clause.
-
Guys
I've got Option strict ON
Option explicit ON
How should I declare the variable:-
Dim bounds as ????? = (From item In xml...<bounds> _
-
Great - that did it thanks very much
-
<way id='27004700' >
<nd ref='296002937' />
<nd ref='296003910' />
<nd ref='296003911' />
<nd ref='296003912' />
<nd ref='296003913' />
<nd ref='296003914' />
<nd...
-
Hours of research/head scratching:-
The problem resides in:-
TileImage = Image.FromFile(c:\aFile.png)
This is just a pointer to the file(so it is open and READY to read) - it does not...
-
How can I find out what process is using the file?
System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: The process cannot access the file...
-
This one did it:-
IO.File.WriteAllText(filePath, My.Resources.MyFile)
Thanks
-
I'm trying to copy a file from my.resources to a user directory thus:-
My.Resources.MyFile.Copy("C:\temp\abc.xml")
I've also tried:-
File.Copy(My.Resources.MyFile, "C:\temp\abc.xml")
-
Great - that did it.
many thanks
-
Thanks for that
I was trying something like that but with Ctype.
However using your solution I get:-
Error 3 Value of type '2-dimensional array of Object' cannot be converted to...
-
Further to:-
http://www.vbforums.com/showthread.php?t=585746&highlight=pass+argument+thread
I now need to pass an array thus:-
Public MyArray(5, 5) As OSMTileName
|
Click Here to Expand Forum to Full Width
|