all groups > dotnet general > august 2003 > threads for thursday august 21
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
Global variable ???
Posted by serge calderara at 8/21/2003 11:30:06 PM
Dear all,
What is the best way to handle global variable in .NET?
We have for instance a configuration file with certain
application parameters.
Lets say that sDataBasePath will contain the path of a
database file set in that configuration file.
Then how to declare that variable in ord... more >>
remoting and database access
Posted by chris at 8/21/2003 10:56:34 PM
Hi there,
I developed a client server model. The server is
connected to a database and I see the contents of the
database. I have a Class Library which the Server
referenced to. Furthermore I have an interface which
should communicate with the client for data exchange.
How can I acces... more >>
Standards
Posted by Umpa Lumpa at 8/21/2003 6:20:57 PM
Hi,
What is the status on the "standardization" (outside MS) of the BCLs?
Is everything under the System namespace going to be "standard" and
everything under the Microsoft namespace custom per MS specific and in
general Vendor.* namespaces for vendor specific classes.
Is WinForms ... more >>
Listview checkboxes
Posted by Dean Bortell at 8/21/2003 5:31:28 PM
I have a field in an access database that indicates if a
message is new. I have created a listview in vs .net
2003 and set checkboxes to true. when i try to check
each row in a datset and set individual listview items
state to checked/unchecked i get an error that says index
out of bound... more >>
DataSet.GetXml() nesting not working in 1.1 of framework
Posted by Eric Decker at 8/21/2003 4:51:36 PM
With framework 1.0 the dataset.getxml() method returned the children nested
within the parent. This doesn't seem to function this way with 1.1. Is
there something I'm missing?
... more >>
Server Explorer/View Designer issue
Posted by Lou Stein at 8/21/2003 4:18:58 PM
Here is the steps I took to produce this problem with
VS2003
1. Create a Windows Application. Place a DataGrid control
on a the Windows form. Name the control dgCustomers. Set
the CaptionText property of this control to Customers.
2. Open Server Explorer.
3. Expand the tree under Data Conne... more >>
Can C# listen for system events?
Posted by Alex at 8/21/2003 2:45:55 PM
I am trying to determine if C# has the capabilities to listen for system
events when the application does not have the window's focus.
I am writing a windows application that I would like to run in the
background when I am using my computer. I would like this windows
application to utilize the... more >>
Launching unmanaged code as another user
Posted by Greg Wilson at 8/21/2003 2:14:41 PM
I need to launch an app from inside my VB.NET app as a
specific user.
I do (VB.NET pseudo code)
Dim moImpersonationContext As WindowsImpersonationContext
= WindowsIdentityIwant.impersonate()
Shell('cmd /C TheCommandToLaunchTheUnmanagedCode')
I can verify that the Shell command runs und... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to create html template to define editable regions
Posted by schwartz NO[at]SPAM cableone.net at 8/21/2003 2:10:53 PM
I am creating a totally adminable news system in asp.net (C#, SQL
server). what i want to accomplish is allow multiple news templates
to be read by an admin area.
heres how it works (hopefully): an artist creates a news template
(html file), drops it into a specific directory, now a client ca... more >>
config files - how to avoid clutter?
Posted by Marty McDonald at 8/21/2003 1:58:47 PM
Many of an app's classes could read the config file. The config file could
contain many elements, and it will be difficult to know which config file
entry belongs to which class. I could adopt a naming scheme for the
elements. But am I limited to using the <appSettings> element for my
setting... more >>
onclick
Posted by mike piano at 8/21/2003 1:12:44 PM
With html buttons, I can say onclick="MyFunction();" and
it calls a JavaScript function called "MyFunction", but
with the Web Controls buttons, OnClick="MyFunction();"
produces an error:
Compiler Error Message: BC30456: 'MyFunction' is not a
member of 'ASP.wfNI206AE_aspx'. I'm trying to ... more >>
Uninstalling Web App
Posted by Angela at 8/21/2003 1:11:30 PM
I am in the process of building a Web Setup Project and
once I figured out how to get rid of the "The system
cannot open the device or file specified" error things
were going fine.
Then, for apparently no good reason, it just decided that
I cannot uninstall the application. I cannot re... more >>
Regex puzzle
Posted by Alan Pretre at 8/21/2003 11:48:24 AM
Can anyone help me figure out a regex pattern for the following input
example:
xxx:a=b,c=d,yyy:e=f,zzz:www:g=h,i=j,l=m
I would want four matches from this:
1. xxx a=b,c=d
2. yyy e=f
3. zzz (empty)
4. www g=h,i=j,l=m
None of the letters here are single letters, but rather pla... more >>
Combobox user control
Posted by barnetj NO[at]SPAM pr.fraserpapers.com at 8/21/2003 11:38:12 AM
I need to have a combobox functionality (ie. be able to type and/or
select from list). I'm using the combobox control from
metabuilders.com. For the most part, this control does exactly what I
want it to do.
One flaw: when i set the autopostback to true, it seems to have no
effect on the co... more >>
Beep()
Posted by bill_m at 8/21/2003 11:29:48 AM
Has anyone tried to use the .NET Beep function?
The following works in VBA:
Private Declare Function Beep Lib "Kernel32.dll" _
(ByVal X As Long, ByVal Y As Long) As Long
Dim blVal As Boolean
Dim dwFreq As Long
Dim dwDuration As Long
dwFreq = 1000
dwDuration = 1000
blVal = Beep(dwFreq,... more >>
Blasted parentheses!
Posted by Norm Dotti at 8/21/2003 11:25:58 AM
In VS 2002 I could specify
Dim x As System.Windows.Forms.Form()
or
Dim x As System.Windows.Forms.Form
and everything was ok. Since upgrading to VS 2003 it won't
let me put in the parentheses in the above sample. After I
installed VS 2003 and opened up my 2002 project I answered
y... more >>
MSI Problem
Posted by Aaron at 8/21/2003 11:24:24 AM
I get the following error message if I do not install to
the default directory...
A portion of the folder path '' is invalid. It is either
empty or exceeds the length allowed by the system.
My created msi project (with Visual Studio 2003 .NET) is
very simple it has an application directo... more >>
MSI isssue - Error 1322
Posted by Aaron at 8/21/2003 11:13:00 AM
I get the following message if I try to install to a
directory that is not the default...
A portion of the folder path '' is invalid. It is either
empty or exceeds the length allowed by the system
This is a simple structure the application directory and
several custome directories unde... more >>
Standards
Posted by Umpa Lumpa at 8/21/2003 9:53:07 AM
Hi,
What is the status on the "standardization" (outside MS) of the BCLs?
Is everything under the System namespace going to be "standard" and
everything under the Microsoft namespace custom per MS specific and in
general Vendor.* namespaces for vendor specific classes.
If WinForms ... more >>
Application Configuration File?
Posted by kathy at 8/21/2003 8:51:13 AM
What Application Configuration File is? And
when/where/how to use it? Any documents on that? MSDN has
somrthings scatter everywhere - hard to follow.
thanks,
... more >>
How to set Focus on a control AFTER a ShowDialog call?
Posted by leeedw NO[at]SPAM hotmail.com at 8/21/2003 8:25:33 AM
I have 2 forms:
Form1 calls Form2 via a Form2.ShowDialog(me) call. However, after
Form2 appears, I want to set the focus to a specific control, but I
can't. Does anyone know how to do this?
Thanks,
ed... more >>
Passing values between web windows
Posted by Greg at 8/21/2003 8:08:58 AM
Does anybody know how to pass session variables from one
window to a new window in an ASP.net web application?
Please help.
Peace Out
Greg... more >>
If .net and j2ee are so great...
Posted by 43 at 8/21/2003 5:22:49 AM
how come m$Office isn't written in .net?
how come Open Office isn't written in j2ee?
how come dbms systems aren't written in either?
how come browsers aren't written in either?
how come RealPlayer, MediaPlayer and all applications
that need speed are written in c++ ? (except for
Lime... more >>
ASP to asp.net conversion
Posted by Sara at 8/21/2003 3:15:32 AM
I have the following line in asp which errors when you run
it through the .net complier
<%if session("HighRes") = 1 then %>
<img height="9" src="../images/ProductColTopL.gif"
width="8">
<%end if %>
This comes back with the error
BC30689: Statement cannot appear outside of a method body
... more >>
|