|
by: Shaun |
last post by:
I have read a number of resources that explain that the MyServices found in
VB.NET2005 can be used in C# by adding a reference to
Microsoft.VisualBasic.dll and then using the Microsoft.VisualBasic.MyServices
namespace (one example is
http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_csref/html/e7152414-0ea5-4c8e-bf02-c8d5bbe45ff4.asp).
This sounded simple enough so I gave it a go and found that I can indeed add
a...
|
by: darrel |
last post by:
I've built a control. At the top of my control, I have this:
Imports Microsoft.VisualBasic
Then, later, I call a function like this:
DateTime.Now.Year.ToString()
This works fine on my machine. My coworker takes the exact same file,
compiles it, and gets errors until he explicitly writes out the function as:
|
by: Phill. W |
last post by:
Is anyone writing VB.Net (2003) code /without/ referencing the
Microsoft.VisualBasic namespace(?), regardless of whether its
Import'ed or not?
The Powers That Be here are trying to introduce a "standard" that
we should be writing our "VB" programs /without/ using this
namespace at all and relying instead solely on CLR functionality.
Comments and Opinions please...
|
by: frostalicious |
last post by:
Used VB.NET (on my client PC) to convert VB6 executable
to .NET executable. Placed the .exe file on a network drive
on my server. From client, ran .NET Wizards "Trust an
Assembly" to make the .exe (on the network drive, on the
server) "Full Trust." From the client, double-click on the
..exe (on the network drive, on the server) and it runs fine.
So far, so good, but...
On the server, where I've installed not VB.NET but .NET
|
by: Steve |
last post by:
Having only recently migrated across from VB6 to VB.NET I'm still
unsure whether or not I should be making (heavy) use of the
Microsoft.VisualBasic namespace in new applications. I've read a lot
of posts in the (VB).Net newsgroups and seen just about all of the For
and Against arguments i.e. not using it = not coding in VB.NET, not
using it = good OO. I'm also aware of the difference between this
namespace and the compatibility namespace....
|
|
by: Dave |
last post by:
I'm trying to import Microsoft.VisualBasic to use the IsNumeric function in
my C# code but all I see is:
Microsoft.VisualBasic.VBCodeProvider while using Intellisense...
From samples shouldn't I see Microsoft.VisualBasic.Information.IsNumeric?
Thanks
|
by: Tom Kearney |
last post by:
Hi - I'm trying to use "Microsoft.VisualBasic.Logging.FileLogTraceListener"
from a set of C# aspx web pages, but I can't seem to use:
<%@ Import Namespace="Microsoft.VisualBasic.Logging" %>
I get a compilation error (Compiler Error Message: CS0234: The type or
namespace name 'Logging' does not exist in the namespace
'Microsoft.VisualBasic' (are you missing an assembly reference?)).
I can import the "Microsoft.VisualBasic" namespace...
|
by: cj |
last post by:
I am under the impression they are obsolete methods included for
backward compatibility. For instance is using
filedatetime("c:\myfile.txt") still the accepted way of getting the date
c:\myfile.txt was last modified? I see filedatetime is in the
Microsoft.VisualBasic namespace. Is there some
dim file as new something
dim lastchanged as date = file.datetime
method we are supposed to use now?
|
by: =?Utf-8?B?R3JlZw==?= |
last post by:
I have two questions with regards to the LEFT function.
I ran into a problem with the LEFT function today. I knew it was a valid
Function, but when I tried to use it, it was getting interpreted as the LEFT
location of a control or something like that, instead of the LEFT function.
(I want to extract the left portion of a string). Anyway, I knew what I
needed was to find out what IMPORTS I was missing. After finding a posting on
MSDN that...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|