all groups > dotnet general > december 2004 > threads for wednesday december 22
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Creating a Windows Service in vb.net
Posted by BobHutch at 12/22/2004 9:31:02 PM
I am trying to create a windows service using vb.net to read a sql table
every half hour and copy all new records created within each half hour
increment to another table. I also want to be able to email each new record
to a specific person. This system will need to run automatically. I kno... more >>
How to compile proj with resources at command line?
Posted by aladdin at 12/22/2004 6:57:02 PM
I use outside .jpg picture files in a Windows Form project. I try to compile
use csc.exe at command line.
I use resgen.exe to generate a resource file like:
resgen.exe Form1.resx MyNameSpace.MainForm.resources
then use csc to compile:
csc /nologo /t:winexe /out:app1.exe /res:MyNameSpace.MainFo... more >>
do is possible to get the path of the method that is begin executed?
Posted by David at 12/22/2004 6:03:02 PM
for example:
Namespace MyNamespace
Public Class MyClass
Public Sub mySub()
Console.WriteLine("Executing..." & MyCurrentSub())
' The MyCurrentSub is just an example of a pseudocode, that will
be replaced with the real function name
' or whate... more >>
Multi-line text box too small for Mozilla
Posted by Parrot at 12/22/2004 6:03:01 PM
Does anyone else have a problem with the Mozilla browser not expanding a
multi-line textbox to its proper size? My textboxes are all small and do not
display mu;tiple lines in Mozilla or Netscape but are ok in Internet
Explorer. Is there a reason for this and can it be fixed?
Dave Uphoff... more >>
My Application don´t run out my Pc ?
Posted by Mario Reiley at 12/22/2004 5:36:40 PM
Hi, Group
The application run OK in my local machine but don't run in other machine. I
am Install The Framework and the Framework Redistributable Package in all
the PCs. I get the following error Message: Just - In - Time debugging
Handler and Remote Host
I Working with C# and the .NET Fram... more >>
.NET Framework 1.1
Posted by Stan at 12/22/2004 4:08:48 PM
Hi Folks,
I'm not a programmer and so totally out of my element here.
I'm running Win 98se, I.E.. I recently formatted HHD and reinstalled
everything plus added some new hardware of HP printer/scanner/copier, HP
PDA, HP digital camera.
Now in add/remove programs I find installed .NET Fram... more >>
is one language in .NET enough
Posted by goran vukovic via .NET 247 at 12/22/2004 4:07:47 PM
(Type your message here)
2 years ago someone claimed multiple languages were an advantage=
of =2ENET=2E COBOL=2ENET was a hot topic=2E Does anyone code in J#?=
Rubbish=2E Stating the obvious, VB=2ENET was made for VB and C# for=
C++ developers to help the transition to =2ENET=2E People forget... more >>
threading.timers - what's wrong here?
Posted by Tom Enderle via .NET 247 at 12/22/2004 4:04:30 PM
Ok, i've spent days googling and revamping code=2E Now I've=
stripped out everything in an effort to pin this one down and=
will gladly admit I'm an idiot - would someone please just point=
out the (simple, basic, shoulda-known-better) flaw in my=
implementation of this=2E
I started out ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Xml Serializing subclass problem
Posted by Angelos Karantzalis at 12/22/2004 4:00:19 PM
Hi guys. I've come across a problem when I tried to serialize a class into
xml, only to discover that the parent class's XML Serialization properties
weren't included in the output xml.
Actually, the class I'm serializing is two steps down in the inheritance
ladder. It's got a parent class whi... more >>
CLS Compliance of assemblies
Posted by Salim Ansari via .NET 247 at 12/22/2004 3:57:27 PM
I am using Microsoft=2Emshtml in my project=2E When i am declaring my=
assemly as CLSCompliant(true), it says "Argument type=
'mshtml=2EIHTMLElement' is not CLS-compliant" =2E So i cannot=
declare my assembly as CLSCompliant=2E Is there any CLSCompliant=
version of Microsoft=2Emshtml or can ... more >>
object oriented design
Posted by A Hash via .NET 247 at 12/22/2004 3:56:19 PM
(Type your message here)
--------------------------------
From: A Hash
I new to object oriented design can any recommend any good sites=
and books on object oriented design using c#=2E Also, I trying to=
implement some classes and dont know what is good approach=2E I=
have a company c... more >>
.NET install for dummies
Posted by Olaf Baeyens at 12/22/2004 3:54:01 PM
For a long time I did not understand the problems users had to install the
..NET framework, and why they complained that it was so hard, but then I saw
a user doing this, and I finally understood why.
The problem is this: I created a .NET program, I created a setup.msi program
that tests for t... more >>
Help converting C struct w/function pointers
Posted by Thomas Connolly at 12/22/2004 3:50:27 PM
Hello list,
No one seems to be replying to my request on the interop group so I thought I would try here.
Can someone please help me with this? I have a C struct containing function pointers like so:
typedef struct _tagLiffeResponseHandlerList
{
void (*OnAccessTransfer) (LiffeStatus eStatus... more >>
ERROR when INSERTING VALUES into SQL database
Posted by pmud at 12/22/2004 3:05:02 PM
I have an ASP.NET web application using C# code. I am trying to insert values
from a web form into an SQL database. I am using SQL COMMAND object for this.
I need to know HOW TO INSERT THE RADIO BUTTON LIST SELECTION entered by the
user in the web form into tha database. for eg. for insertin... more >>
How to obtain assembly name in unmanaged call?
Posted by Gnanaprakash Rathinam at 12/22/2004 2:33:02 PM
Hi Expert,
Is there a way to obtain assembly name in an unmanaged call? During Interop
call between managed to unmanaged, I would like to know in unmanaged code
about the caller of assembly file name?
Thanks,
GP.
... more >>
IsolatedStorageFile Question
Posted by Jason Ho at 12/22/2004 1:26:46 PM
Dear All,
I would like to store the registration info of a user of my software. Every
time my program start, I will check form the IsolatedStorageFile whether the
software is registered. If not, the software can just work for 30 trial days
and become unusable.
However, I found that my progr... more >>
VB or C# ?
Posted by ksedran at 12/22/2004 12:35:04 PM
Hi All,
I am looking into taking a programming course, VB.NET or C#.NET.
Was wondering if anyone could provide me with some feedback if one would be
better to take than the other.
Any advice is appreciated.
Thanks!!
--
Kevin... more >>
sending messages from a dll to the main app
Posted by Chris at 12/22/2004 12:05:01 PM
Hi,
I have an application that contains a class library as another project.
The application basically executes DTS packages on a remote SQL Server.
This works great.
However I want to add some code that will allow the class executing the
current DTS package to send back messages to the m... more >>
Win Form, Image and getting the presice x,y Pixel the mouse is poi
Posted by CoreyMas at 12/22/2004 11:35:06 AM
Hello All,
Here is what I would like to do
I am creating a game program that displays a map (preferably in hexes but
that is another matter) and whenever the user is over the "map" I want to
know the x,y coords (in pixels) of where he is pointing to.
Here is what I have done
Place an... more >>
Another custom property question
Posted by cOdEmOnKeY at 12/22/2004 11:21:04 AM
I have added a property of custom class type to a control. I can see and set
the property at design time, but nothing is saved.
I have added many other properties of defined types like string, boolean,
etc. And these all work fine.
Here is a sample of my property code...
<Category( "MyP... more >>
Asynchronous call from ASP.NET Page
Posted by FairlySane at 12/22/2004 10:35:04 AM
I am trying to make a call to a method from an ASPX page that takes a few
minutes to complete. During this time I would like the page to wait (show
gears turning like Sharepoint)... upon completion of the method call the
user will be redirected. Can someone provide guidance on how to do thi... more >>
Passing a parm to a stored proc that has an "in clause"
Posted by droope at 12/22/2004 10:05:06 AM
I am trying to create a proc with a parm @whereclause that will have a value
passed in of one to many policy ids. The parm coming into the proc looks
like this, ('000000000108', '000000000106', '000000000394').
Can you create a proc that accepts the in clause values as a parm?
I did get i... more >>
Config file placement
Posted by Metaljock at 12/22/2004 9:35:05 AM
Please forgive me if this question is not clear. I am not a .Net developer,
I am just trying to get a .Net app to work with Citrix.
I have a .Net app that runs on Terminal Services 2003 with Citrix
Presentation Server 3.0. This app has a .config file that I am told MUST be
in the same dir... more >>
Flash Demo
Posted by exBK at 12/22/2004 8:41:02 AM
Hi,
I have a link to a flash demo on one of my web pages. How can I prevent a
user from accessing it without them logging in to the site first? Currently
if they have link to the flash demo, they can simply run it ... any tips are
greatly appreciated. TIA.... more >>
keep controls in the toolbox
Posted by LBS at 12/22/2004 8:34:26 AM
Hello everybody
every time I load a vb dotnet application, I need to re-add my controls in
the toolbox.
What's the "trick" to save them so they would appear everytime I load any of
my applications ?
Regards
LBS
... more >>
Easy UI Question
Posted by Ryan Smith at 12/22/2004 8:29:15 AM
I would like to create an VB.NET app that has a navigation reagion spanning
the width of the screen and lying just below the menu items. I am new to
..NET and would like to see if someone could give me a quick comment on the
best way to go about doing this. In VB6 I would create a set of doc... more >>
Web Parts
Posted by CW at 12/22/2004 8:21:01 AM
I'm creating some web parts using VS.NET & InfoPath. Question, I'm currently
using Windows XP as my Office, Frontpage Infopath development platform but in
order to create Web Parts for Sharepoint Services I understand you have to
have SharePoint Services installed on 2003 Server. Can Sharepo... more >>
Login failed for user NT AUTHORITY\NETWORK SERVICE
Posted by pmud at 12/22/2004 7:21:03 AM
Hi ,
I created a very simple ASP.NET application & am getting the following error:
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
'NT AUTHORITY\NETWORK SERVICE'.
Source Error:
Line 70: sqlCommand1.P... more >>
Scrolling in DataGridView in Visual Studio 2005
Posted by khasibhatla NO[at]SPAM gmail.com at 12/22/2004 4:49:11 AM
Hi
I edit a cell in a DataGridView, and then would move to another cell
in the DataGridView using mouse. Then the DataGridView as of now does
scroll down to the last visited cell. But when I try to edit the same
last visited cell, focus gets shifted to the first few visible rows as
per the di... more >>
|