| |
thread by: Andy Newland |
last post Jul 19 '05 by: Andy Newland
Hi Guys,
I would like to print out a word document using a VB .NET
component. I have got VBA and VB.Net talking to each other
and can pass word objects between COM and .NET.
My reason for doing this is to enable myself to be able to
use the PrintSettings class and all of its advanced
features - Duplex on/off, Color on/off etc.
|
thread by: Rob |
last post Jul 19 '05 by: Rob
I have a test asp.net web app that utilizes sessions and
works correctly on my test IIS server which also has
Visual Studio .NET on it. I deployed the app to a
production server and the session seems to work the first
time the page loads for one transfer to another Form.
After that it's like every request is new and the session
variable is...
|
thread by: Abhijeet |
last post Jul 19 '05 by: owen
I have Windows 2000 OS with SP1. How to make the IIS
server to work with ASP.NET? Currently the IIS works fine
with the ASP applications but not with aspx. I do not
have .Net studio installed on my machine.
When I try to access any aspx page, it opens it like a
text file in browser. The aspnet_wp.exe file is not
present on my system.
I...
|
thread by: Subramanian Iyer.NET |
last post Jul 19 '05 by: Rob Epstein
Hi,
Considering the scenario for handling exceptions in Web Application where we
have Presentation layer, Business layer and Data Access layer; if there any
exception is occurred in DAL, which is the best thing to do:
1. Not to catch the exception in DAL and let it pop up to the Application
level and let the Global.Application_Error...
|
thread by: Anibal David Acosta F. |
last post Jul 19 '05 by: Jon Skeet
I use C# and need to get the ASCII code of a 8bit character.
When I use the Convert.ToByte() function, it throw an error when the
character is above the 127, for example the char: Ñ
The function: System.Text.ASCIIEncoding.Default.GetBytes() work fine but it
return an array of bytes and I need to use in this way:...
|
thread by: Serge Calderara |
last post Jul 19 '05 by: Jon Skeet
dear all,
when I use classes function from framework, I could see a
small tooltips wich is showing parameters to pass to the
function but in addition a brief derscription of each.
When doing my own function, is there a way to display as
well description of each parameters when implementing that
function?
|
thread by: joe |
last post Jul 19 '05 by: joe
I need to create a pop-up alert from a .aspx.cs page. I
tried by using javascript b/c I know how to do it there
but it does not work this way.
Response.Write ("<script language=javascript>alert
('message');</script>");
How can I do this using C#?
Thanks
|
| |
thread by: KK |
last post Jul 19 '05 by: KK
** Posting it here cause after couple of days no body responded.**
I was playing around with Windows Forms
and found out this Forms Inheritance feature.
The moment I saw that, I felt this can be
used effectively if the application
contains couople of forms which have
a consistant look and also shares
SOME similar functionality between...
|
thread by: Hideyuki |
last post Jul 19 '05 by: Hideyuki
Hi, I am using asp.net, and I am having a problem
exporting datagrid to excel. One column contains numbers
such as 123456875468. When this goes to excel, it is
displayed as 1.23456E + 11 which I don't want to be. If
you know how to do it, please let me know.
Thank you.
Hideyuki
|
thread by: A.S. |
last post Jul 19 '05 by: A.S.
When i use FileSystemWatcher to monitor a local directory
on my machine ,it works fine.But I need to monitor a file
on a different server.So i set
FileSystemWatcher1.path="\\server1\App\Data"
However,this gives ArgumentException:The directory name is
invalid.I tried giving the ip address instead of the
servername ,but got the same error.I...
|
thread by: Doug Holland |
last post Jul 19 '05 by: Doug Holland
Is there a way of adding additional XML tags to C# XML
comments such that the /doc compiler switch takes these
into account when generating the code?
Regards,
Doug Holland
|
thread by: Stefan De Schepper |
last post Jul 19 '05 by: Stefan De Schepper
Hi all,
I am trying to make an "allround" combobox, being able to just be a combobox
or an imagecombo. The appearance of this control can be either 3D or flat.
The control is based on
http://www.codeproject.com/cs/combobox/vsnetcombobox.asp (which has the
ComboBox control being inherited by the ComboBoxBase, which is in turn
inherited by...
|
thread by: J. van Herten |
last post Jul 19 '05 by: MikeB
I am searching for the replacement of the scriptcontrol of VB6 in .NET.
I am plaing with the CodeDOM but I cannot get to evaluate a string text to
the result I want.
String text = "1 + 2"
Result shoul be 3.
|
thread by: Christopher D. Wiederspan |
last post Jul 19 '05 by: Alvin Bruney
I've got a WebServices application that uses Crystal Reports to produce and
then export Invoices to PDF format. Without getting into too many details,
it's just a big loop statement that goes out to SQL using a SqlDataAdapter,
brings back a dataset which is pushed into the Crystal Report, and the
report is exported - nothing fancy.
...
|
thread by: Rob Miller |
last post Jul 19 '05 by: Rob Miller
What am I doing wrong??
I have tried every last trick in the help file and I
cannot get the ASP.Net debugger to analyze my code for a
webform.
I have also deinstalled VS.Net and reinstalled it. It
just will not work!!!
This is my third day attempting to solve this. Any
suggestions will be GRATEFULLY recieved!
|
| |
thread by: Darcy Ryan |
last post Jul 19 '05 by: Stephen Martin
Greetings,
I am having a problem trying to use the TcpClient and
NetworkStream classes to connect to a POP3 server. My
(simplified test) VB.NET code is as follows:
Dim tcpclient As New TcpClient
tcpclient.Connect("<server name>", 110)
Dim ns As NetworkStream = tcpclient.GetStream
|
thread by: Kent Tegels |
last post Jul 19 '05 by: Kent Tegels
Greetings,
I've written some code for a presentation I'm scheduled
to give in a couple of weeks. It compiles nicely instead
of VS.NET 2003, but is giving me fits when I try to
complie it from the command line.
C:\scriptingdemos\WhatsRunning.vb(10) : error
BC30456: 'Process' is not a member of 'Diagnostics'.
|
thread by: J. Marshall Latham |
last post Jul 19 '05 by: John Timney \(Microsoft MVP\)
I am trying to upload a file to the server from the client. I can
successfully upload a file that has a file size of less than 1 Kb, but my
program does not work if I try to upload a file with a size of 12.3 Mb. I
can't even get the debugger to work correctly if I try to upload the bigger
file. Can someone tell me why this problem would...
|
thread by: Bob Rosen |
last post Jul 19 '05 by: John Timney \(Microsoft MVP\)
In InterDev, I frequently defined constants for my data-table field names,
then used #include statements to refer to the file(s) with those
declarations and substituted the constant declaration in any place where I
needed to refer to the field name. Is there any way to do the same sort of
thing in the <%# Container.DataItem (<field name>) %>...
|
thread by: clarence |
last post Jul 19 '05 by: clarence
I have the standard version of VS .net and I have Personal
Oracle on my machine. Is there anyway to create a
connection to Oracle with the standard version?
|
thread by: John Lehmann |
last post Jul 19 '05 by: John Lehmann
I have several reports designed in Crystal .Net that
display information in group sections. Every single piece
of text in these sections is hyprelinked. How do I turn
this off? I have looked in every menu in the designer and
for the life of me can't figure it out.
|
thread by: George Hester |
last post Jul 19 '05 by: George Hester
Which has more bang for the buck? I am interested in Windows API programming and Office Development. The various SDKs including the Drivers SDK. Thanks.
--
George Hester
__________________________________
|
thread by: Mark Sisson |
last post Jul 19 '05 by: Mark Sisson
Easy one for gurus::::
Could someone tell me why this custom control bombs during postback?
To duplicate: compile this control, put it in your toolbox, drag it to
a new form, add a button to the form, run the form, hit the button.
Voila! The control doesn't remember it's ViewState.
WHY!!!!!!!!!!!!!!!!!!!!!!!!!!!!
tia
|
| |
thread by: Lee Connell |
last post Jul 19 '05 by: Lee Connell
How come the WMI newsgroup is not working? I am having a problem retrieving
the keepaliveinterval property value of the NetworkAdapterConfiguration WMI
class. It gives me an error "not found". I know its there cause i used the
static method SetKeepAliveInterval(); I also checked that it was changed in
the registry after a reboot. What...
|
thread by: Andrew Brampton |
last post Jul 19 '05 by: Andrew Brampton
Hi,
I read a few months back that Edit & Continue was going to be added to
VS2003 for C# and the other .Net languages... However I'm sitting in front
of my newly installed Visual Studio 2003 and Edit & Continue seems to not
work still :(
Can someone confirm if Edit & Continue doesn't work... and if it doesn't why
doesn't it, and when will...
|