Rich Text Box
I have run into a problem on some stations, it keeps
returning the following error (upon exit):
------------------------------------------------------
System.NullReferenceException: Object reference not set
to an instance of an object.
at System.Windows.Forms.RichTextBox.OnHandleDestroyed
(EventArgs e)
at System.Windows.Forms.Control.WmDestroy(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.RichTextBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage
(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc
(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------
I understand what the exception means, I just do not see
why it is being generated. Any ideas? Tag: databases Tag: 63190
Bizarre error--cannot create window handle
I am getting a very bizarre error.
Says something about system memory and then
Cannot create window handle
I have a form with constructors.
1 is passed nothing
(new document)
2 is passed a class having a strong dataset
(open document)
the form has a datagrid and binds to the dataset(the form has a member
variable that gets set to the class having the dataset) The grid binds to
this class.
if from my MDI form
I open a document works great.
if I click new, it does soemthing like
dim f as new frmMyformName
f.mdiparent=me
f.show
I set a breakpoint on new statement
I trace into it and it gets by the constructors and the New() contructor
makes a new empty class and binds that empty dataset to the grid.
Then on f.show I trace into it
it goes to form.load
it goes so far in there and then bombs out to the f.show call in the MDI
form.
Says system out of memory error or something and then
Cannot create window handle.
I can't seem to discover the real problem
Any ideas would be appreciated.. All else works fine. This did work right
before but I discovered I needed another class and when i made thoses
changes it no longer works correctly. I am not sure why.
Thanks,
shane Tag: databases Tag: 63171
How can I get rid of form Icon?
I don't want to use form's icon on main form. Bur can not set to null.
Is tehere any suggestion?
gburhan Tag: databases Tag: 63167
Comma Delimited
Hi,
I am looking to create a report comma delimited on a click of a button.
Explanantion:
1. Get from the database: "SELECT * FROM Customers WHERE Region = 'CA'"
2. Use either DataReader or DataSource
3. Create a button "Export"
4. On ServerClick Event prompt user to save as a text comma delimited file.
Can someone help me?
Yama Tag: databases Tag: 63166
Windows XP look for apps named services
Create file services.cs
/************** services.cs ****************/
public class Form1 : System.Windows.Forms.Form {
public Form1() {
InitializeComponent();
}
private void InitializeComponent() {
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
this.ClientSize = new System.Drawing.Size(292, 260);
this.Name = "Form1";
this.Text = "Form1";
}
static void Main() {
System.Windows.Forms.Application.Run(new Form1());
}
}
/**************** end of services.cs ***********/
Compile it via csc: > csc services.cs
Run exe: > services.exe
Form will appear, but look will be windows classic even if you have
Windows XP theme selected for your display. Rename exe to
"servicess.exe" for example and, when you run app, you will have
desired XP look of your app. Does anyone have reasonable explanation
for this strange behaviour?
Thanx Tag: databases Tag: 63162
Pdf coming from SQL display in windows form
Hi, I am pulling PDF files from an IMAGE field in SQL2000. I was
wonder what the best way is to display it in a windows form. I was
thinking that I have to save it to the local as a PDF then browse to
it using the AxWebBrowser control. But I would like to avoid that if
possible. Any pointers would be appreciated.
Thanks Tag: databases Tag: 63159
Datagrid scrolling problems
I have a datagrid that when you hit the end key the cell changes to the last
cell on the row but it doesn't scroll all the way over. It scrolls so you
can see the second to last column but not the last. When you hit home it
seems to work fine. Has anyone seen this behavior before? I have other
grids and none of them show this to be happening. The only way I've gotten
it to work right is by making the last four columns skinnier. It seams it
will only scroll beyond a certain point and if you make the columns small
enough it won't have to scroll beyond that point. I told it to scroll the
maximum amount and it did take it to the end properly so I don't think that
the maximum is set wrong. Any help is appreciated.
Thanks,
Brandon Tag: databases Tag: 63158
composant windows media en .net
Bonjour,
je souhaite m'écrire une application de type media player. Existe t'il des
composants qui joue de la video, de la musique et des photo en .net
Au début, je pensait intégrer l'activeX de wm9 mais je n'ai pas d'API ... Tag: databases Tag: 63152
Microsoft Money-style interface
Has anyone seen any documentation on how the Microsoft Money interface is
achieved? I assume this is done under winforms, but it has a very
browser-like feel that I wish to replicate in my application.
Thanks in advance for any assistance. Tag: databases Tag: 63151
Splitter Control question
Can any one help ?
I have a splitter control within a Windows form, it works perfect
until the Windows form is smaler where the scroll bar is active there
the splitter control does not work
Any Ideas ? Tag: databases Tag: 63150
Screen Configuration Mechanism ?
Does anyone have any useful links or ideas on allowing end-user screen
configuration in .NET ?
What I am after is a mechanism that allows developers to create rich client
forms in some sppropriate "default" layout, but which then allows a
privileged user to manipulate the screen layout at run-time (to affect all
or selected users), ie. hiding particular panels, controls or grid columns,
changing the display and tab order of panels, controls (within panels) and
grid columns, etc.
I'm not sure how the configuration UI will actually work at present but I'm
open to suggestion.
The mechanism should incur minimal additional effort on the developer. Tag: databases Tag: 63144
Docking a panel to a splitter window
I have a Winform that has a splitter control, set vertically in the middle
of my page.
I have a panel over on the right hand side that has edit controls on it.
What I want to do is either attach the panel to the right hand side of the
splitter or make it so that when I move the splitter to the right, the
expanded left hand side window covers up the panel.
What type of property would I need to set within my panel to get it to dock
or be sizable with the splitter.?
STom Tag: databases Tag: 63142
Datagrid - Datatable synchronisation
Hi,
i bound my DataGrid.DataSource to a DataTable. Now i add a
new row to my datatable. This new row will be displayed in my
datagrid. But it isn´t the active row. How can I select the new row
in the datagrid.
Thanks in advance
Sepp Tag: databases Tag: 63125
Cannot show inherited forms in design mode
It seems that every now and then, totally at random, Inherited forms stop
working in design mode. Once they stop working, I can never get them to work
again. When I try to show the form in design mode it says "An exception
occurred while trying to create an instance of MyClassName. The exception
was "Specified cast is not valid."".
The form compiles just fine and everything works well except for this error
message which leads me to belive that Visual Studio.NET is more to blame
than me. ; p.
I have tried to delete the resx file and have it recreated but that doesn't
get me any closer to a solution.
Is this a known bug? Are there any workarounds or do you have any ideas as
to what I should do to resolve this annoyance?
Thanks,
Magnus Tag: databases Tag: 63116
Tree control focus frustration
Hi;
I've built the guts of an explorer style application in C#. It has a
tree view on the left showing a series of nodes that are relevant to my
user, and as they click on each one, the right-hand side of my window
shows the particular panel that's relevant to the selected node.
I have one minor frustration, however. What I'd like to do is focus on
the first control within the newly chosen panel. I know which control
this is, and I can transfer focus to it by Select()'ing it, but once the
tree control has finished its AfterSelect() event it steals focus back
again.
I've got a dual monitor setup and I can step through my tree control's
AfterSelect() event handler. My new panel is selected, completely drawn
by calling Update(), the first control on the panel is selected and
focused on and the tree loses focus. Finally, when I step off the end of
AfterSelect(), focus magically snaps back to the tree.
I'd really like focus to stay on my newly selected panel rather than the
tree.
(1) Am I fighting a pointless battle here? Should focus stay with the tree?
(2) If it's not extremely rude to move focus to the new panel and leave
it there, how do I do it?
Thanks,
Andrew. Tag: databases Tag: 63108
Is this impossible ?
Can you make a "LongTimeString" tick backwords using VB . NET 2003
Private Sub Timer1_......
Textbox1.Text = Now.ToLongTimeString
"????????Hummm Tick Backwords"??????"
End Sub
End Class
See what you come up with and post a code sample, I think it mght work if
you can Dim TextBox1 as something and use something like IF LongTimeString
= > +1 then TextBox1.Text = -1
I dont know I can't fig it out, can you? Tag: databases Tag: 63105
Control.FromHandle
Hi ,
We are trying to obtain the active window of a given Windows Forms
application . Although most of the win API functions like GetActiveWindow
and
GetForegroundWindow return a valid handle , calling the method
Control.FromHandle using the handle returned from the WIN API evaluates to
null.
All we are interested in is in checking whether a specific winform
application is running or not ( Ofcourse we could have used WSH but we need
to do a bit more than what can be achieved with that) through a monitoring
application
Any sample illustrations or alternative approaches would be highly regarded
Kind Regards
Bijoy Tag: databases Tag: 63103
Using DirectX 9 with .NET
Don't know whether to post this to a DirectX newsgroup, but I'd post it here
:)
I have written a C# MDI app utilising GDI+ to do the drawing. Performance is
terrible. (I have double buffering, but this causes other problems,
especially at high zoom levels - on large documents).
Is it possible to use DirectX9 to paint MDI child windows? I have seen some
samples, and they seem to use a busy loop to continually redraw a window,
calling Application.DoEvents after each iteration.
Why do they need to do this? Would it work to have multiple MDI childs and
update those in the loop? Why not just respond to paint events instead of
replacing the message loop?
Maybe I just don't get it.... :)
Anyone have any ideas? Any advice? Anyone actually done this with any
success?
Thanks -
Paul Wardle Tag: databases Tag: 63101
Press a button programatically
Hi,
Is there a way to push a button programatically (and for
that matter to emulate any other key/mouse event).
For example when a button is pressed by a mouse/key it
caves in and events get fired.
How do I cause this to happen programatically?
Something like:
MyButton.ClickIt()-and the button caves in
The Windows calculator does it nicely-copy some numbers in
the clipboard and paste them in the calculator and its
buttons get clicked.
Thanks Tag: databases Tag: 63095
Char.IsControl bug?
Hi,
I am listening to TextChanged events in a TextBox and checking if a char is
a control char via the Char.IsControl method. This works fine for regular
English input. But when I change the input lang. to be "Greek", certain
characters (like capital "D", delta in greek, I think) are recognised AS
CONTROL CHARS by the Char.IsControl method (whereas they certainly are not
control chars). I have made sure that the Application.CurrentInputLanguage
setting is set to "Greek" at this point.
Am I missing something or is this a bug?
TIA,
-Praveen Tag: databases Tag: 63090
Char.IsControl bug?
Hi,
I am listening to TextChanged events in a TextBox and checking if a char is
a control char via the Char.IsControl method. This works fine for regular
English input. But when I change the input lang. to be "Greek", certain
characters (like capital "D", delta in greek, I think) are recognised AS
CONTROL CHARS by the Char.IsControl method (whereas they certainly are not
control chars). I have made sure that the Application.CurrentInputLanguage
setting is set to "Greek" at this point.
Am I missing something or is this a bug?
TIA,
-Praveen Tag: databases Tag: 63089
What is the exact procedure to show/hide forms?
Hai all,
I've two or more forms on my app.
My requirement is, Have to show the first form asa the user press a button
have to hide the first form and show the second form. If the user press the
escape key on second form, this should be hidded and should show the first
form.... Can some one guide me how to achive this... (MUST USE SHOW & HIDE
FORM PROPERTIES). I tried to achive this using the below code but when i
check the Windows->Task Manager for each and every form changes it's eating
up memory and it's not getting down.
On Form1 :-
Button1_Click()
Dim Form2 as new Form2
Form2.show()
On Form2 :-
Dim Form1 as new Form1
Form1.show()
Thanks in advance.
Ajai Tag: databases Tag: 63087
DockStyle problem
I have a GUI which I design with VS.NET.
basically I have tabs and I put control at the top or bottom by setting
their Dock property to Top or Bottom.
then (after the InitializeComponent()) method I add some other widget in the
tabs, with the aim to fill the remaining space by setting their Dock
property to Fill
unfortunately the new control seems not to take the remaining space, but the
whole space of the Tab page !
(and are partially obscured by previously adde control)
is that really normal ?
how to fix that ? Tag: databases Tag: 63080
Timer Question???
I'm using VB .NET 2003 and I cant figure out how to do this, I have a
windows application with 2 Forms and a Timer the Timer is on Form1, I also
have a Button on Form2, I want to click Button1 located on Form2 an have the
Button1_Click event perform Timer1 functions, for example; Button1_Click
...... Timer1.Enabled = False, sounds simple enough but I cant get Form2 to
inherit Form1's Timer component, I tried it a few different ways but I'm
stuck, I can get Form2 to inherit other components like Labels and Textboxes
but I cant get it to inherit he Timer component.
Anyone know how to???
Do you even have to inherit the Timer to do this??? Tag: databases Tag: 63077
pass a class as argument
The code below gets data from my webservice and load the data into the
array called myarray using a class called DataClass. I would like to
use the same process (LoaData) to bind differrent comboboxes by using
different classes. How can I modify the LoadData so that I can pass in
the class -- private void LoadData(System.Windows.Forms.ComboBox cmbo,
??). Any sample of code would be very helpfull. Thanks.
private void LoadData(System.Windows.Forms.ComboBox cmbo)
{
WebService.GetData mydata = new WS.GetData();
DataSet Ds = mydata.GetInfo();
foreach (DataRow Dr in Ds.Tables["StateList"].Rows)
{
MyArray.Add(new DataClass(Convert.ToInt32(Dr["ID"].ToString()),
Dr["Desc"].ToString()));
}
cmbo.DisplayMember = "Desc";
cmbo.ValueMember = "Id";
cmbo.DataSource = MyArray; Tag: databases Tag: 63076
How to prevent the drawing of multiple lines on form?
Dear colleagues,
I refer to your help with specific graphic problem. It is
necessary to create a viewfinder in graphic application.
It seems that the algorithm is simple: just draw lines
in specific position in according to value of some
controls, track bars, for example. Next read the track
bars value to find the coordinates of lines cross.
It works, but I can not get real cross because the
background image is being deface by lines images.
The drawing procedures looks like the next:
' Picture box picbView and two track bars (trckHoriz,
trckVer) are created on form.
#Region "Form level variables"
Dim hwnd As New IntPtr ' handler of picturebox's
window
Dim g As Graphics ' graphic object for drawing
lines
#End Region 'Form level variables
Sub InitiateFormData()
' call this procedure at Sub New, located at Windows Form
Designer generated code
' maximums of appropriate trackbars are equal to
picture box size
trckHoriz.Maximum = picbView.Width
trckVert.Maximum = picbView.Height
hwnd = picbView.Handle ' assigned
handler
g = Graphics.FromHwnd(hwnd) ' created
graphic object
' get path to image and load it as picture box's
background
Dim strImageFile As String =
Application.ExecutablePath.Substring(0, _
Application.ExecutablePath.LastIndexOf
("\") + 1) & "Viewfinder.jpg"
picbView.BackgroundImage = Image.FromFile
(strImageFile)
End Sub
Sub DrawViewfinder()
' draw viewfinder's lines
' TODO - how to prevent the drawing of multiple
lines ????
Dim p_en As New Pen(Color.Yellow)
g.DrawLine(p_en, 0, trckVert.Value,
picbView.Width, trckVert.Value) ' horizontal line
g.DrawLine(p_en, trckHoriz.Value, 0,
trckHoriz.Value, picbView.Height) ' vertical line
' and we get the images of all lines ever been
drawn :<<<
End Sub
Private Sub trckHoriz_Scroll(ByVal sender As Object,
ByVal e As System.EventArgs) Handles trckHoriz.Scroll
DrawViewfinder()
End Sub
Private Sub trckVert_Scroll(ByVal sender As Object,
ByVal e As System.EventArgs) Handles trckVert.Scroll
DrawViewfinder()
End Sub
I will be highly grateful for advices how to resolve this
problem.
Best regards
George Golubev, Russia Tag: databases Tag: 63073
Fade from one Panel to the other
I am building an application that will fade one panel to another
panel. Both panels will have picture boxes in them (thumbnails).
This is what I have tried:
private void fade(System.Windows.Forms.Panel fP){
for (int i = 255; i >= 0;i--){
System.Threading.Thread.Sleep(10);
fP.BackColor = System.Drawing.Color.FromArgb(i, 255,255,255);
System.Windows.Forms.Application.DoEvents();
}
}
There is another Panel under the one being passed in to the function.
It has two problems. One it flickers like crazy, and two (now this I
don't get at all) it does not become transparent at all. It just fades
the form color. (At the time of testing the top panel had no images in
it, but the bottom one did)
Am I doing something wrong? (Well of course you are idiot) But what?
I don't know much about GDI, but is it possible to take a image of my
control that is fading out and replace the control with that image and
fade the image out? Would that be any better. (Thinking out loud).
If you could, please point me in the right direction. If you had
sample code to do this I would erect a large alter in your name and
sacrifice many chipmunks in for you. (OK, for those of you with no
sense of humor, I'm joking).
keywords: dotnet c# fade panel control Tag: databases Tag: 63070
Adding extra title bar button
I have an extension to the Windows shell I want to write where I need an
extra button by the max/min/close buttons. Does anyone have an idea where I
would start looking to find out how to do this? Tag: databases Tag: 63069
place a Form on a TabPage
hello
I have a tabControl wite several pages I whould like to place a form ontop
of one of it's pages.
how do I do that?
Yoramo Tag: databases Tag: 63051
Enumerating child windows.
If I have a main window for a process (obtained vias
System.Diagnostics.Process.MainWindowHandle) of some process on my system,
is there a way to enumerate the child windows without resorting to the
non-managed Win32 EnumChildWindows function?
Brian McCormick
mccorb@cox.net Tag: databases Tag: 63050
Problems with Send to Back & Bring to Front
Hai all,
Can somebody give me some solution to handle this scenario?
I've a MDI Parent form. It holds a GroupBox along with some labels. I have
one more form which is a child form this parent. When I open the child form
it gets hides behind parent form's GroupBox. I tried Groupbox.sendtoback()
on parent form and Me.BringtoFront() on childform__Activated() area, but NO
JOY...
Thanks in advance.
Ajai Kumar .R Tag: databases Tag: 63048
VS 2002 Bug?
Every now and then, when I'm working with WinForms, VS seems to "lose"
somehow the event handlers (they exist, but the += that ties them are gone,
so they are not activated)
This has happened to me for more than once.
Anyone familiar with this? Tag: databases Tag: 63047
Clearing back history in IE as a hosted control.
I have an IE control that I host in my app, I usually Load() documents to
IE, but the user can navigate using links as well.
I want to clear the history (only the back & forward, actuall) when I Load()
a new document into IE, how can I do this? Tag: databases Tag: 63039
listview
Hi,
Suppose we have 5 textboxes and one commandbutton.as soon
as we click that button the contents should be added to
our listview.So for that what's to be done.
I would appreciate if u could provide me the coding.
Thanking You. Tag: databases Tag: 63037
listbox
Hi,
I wish someone should be kind enough to help me in
answering this for me
1. Suppose we have two listboxes then if we want to
retrieve all the contents from listbox1 to listbox2
say 10 elements what is to be done.
2. How do u connect VB.net to MS ACCESS
Thanking you. Tag: databases Tag: 63036
How to prevent the drawing of multiple lines?
Dear colleagues,
I refer to your help with specific graphic problem. It is
necessary to create a viewfinder in graphic application.
It seems that the algorithm is simple: just draw lines
in specific position in according to value of some
controls, track bars, for example. Next read the track
bars value to find the coordinates of lines cross.
It works, but I can not get real cross because the
background image is being deface by lines images.
The drawing procedure looks like the next:
' graphic object is refering to picturebox
' this picturebox has background image
Sub DrawViewfinder()
' draw viewfinder's lines
' TODO - how to prevent the drawing of multiple
lines ????
Dim p_en As New Pen(Color.Yellow)
g.DrawLine(p_en, 0, trckVert.Value,
picbView.Width, trckVert.Value) ' horizontal line
g.DrawLine(p_en, trckHoriz.Value, 0,
trckHoriz.Value, picbView.Height) ' vertical line
End Sub
Private Sub trckHoriz_Scroll(ByVal sender As Object,
ByVal e As System.EventArgs) Handles trckHoriz.Scroll
DrawViewfinder()
End Sub
Private Sub trckVert_Scroll(ByVal sender As Object,
ByVal e As System.EventArgs) Handles trckVert.Scroll
DrawViewfinder()
End Sub
I will be highly grateful for advices how to resolve this
problem.
Best regards
George Golubev, Russia Tag: databases Tag: 63035
Panel Fill with Nested Controls
Greetings Everyone.
I have been trying to fill a panel control with linear gradient. (Isn't
everyone?) This control contains a number of label controls. I placed code
in the panel's paint event handler. While this does fill my panel as
expected it also performs the fill on each of the label controls resulting
in a rather tacky display of gradient excess.
I have confirmed that, to no surprise, the paint routine is being called
once for the panel and again for each constituent control. It also appears
as though the panel itself is the sender of all the events and each of the
labels' dimensions are being sent in the ClipRectangle property. I am not
sure I understand the reasoning behind this. Can someone explain that? More
importantly, would someone mind sharing their clever solution to getting
only the panel to paint? (I've considered comparing label locations to
ClipRectangle X and Y but that seems clumsy.)
TIA -
Eric Tag: databases Tag: 63027
IE Icons
I'm embedding IE in my app, and I want to display a toolbar with the back,
forward, stop, home, etc icons of IE.
Is it possible? Or is there some (C) problem?
If possible, where do I get them? Tag: databases Tag: 63025
Need Expert Opinion on design issue
Greetings all,
Ok, I've developed a .NET application that integrates into the Windows shell
as a namespace extension (think of Scheduled Tasks and you'll get the
general look of my app). Since I've written it in C# using the 1.1
framework, I decided to support the XP look by calling
Application.EnableVisual Styles(), however here lies the problem:
It appears that calling EnableVisualStyles() works as long as its' called
from an executable. Unfortunately, in my case, I have no starting
executable. Technically the executable is Windows Explorer (explorer.exe)
which calls into my DLL through various interfaces. To make a long story
short, calling EnableVisualStyles within my DLL eventually leads to a crash
of the Windows exlplorer interface, so I'm left with one option to get the
XP style interface, and this is where I need expert opinions:
If I include a manifest named explorer.exe.manifest and install it into the
windows directory, everthing works great. My windows inherit the XP
interface, however so does other programs that are tied to Windows
explorer, such as scheduled tasks. So my question is, should I install a
manfiest that potentially alters other programs interface just to get my app
to have the XP style interface, or should I just leave it alone? The reason
I ask this is that this is going to be a commercial application, and I want
it to look professional (i.e. when run on XP, one would expect it to have an
XP interface), but am I crossing the line by installing a file that could
have affects on other apps that are not mine?
All opinons are welcome!
Neil Axe
Exalien Software Tag: databases Tag: 63024
Question on Clearing a multi-line text box
Hi
I got a problem. I have just moved over for a bit from BCB
to VC++.NET 2003 and am struggling with just one function,
namely the TextBox->Lines->Clear().
It says it takes an array as the first argument, the index
to start at for the next and finally the total number of
items to clear. So I try this:
tbOutput->Lines->Clear(tbOutput->Lines,0,tbOutput->Lines-
>Count);
as I Suspected this does not work. How do I clear a Text
Box (Using multi-line property == true, so its like a
memo).
Thanks for any help
-CT- Tag: databases Tag: 63015
CheckedListBox
Setting SelectionMode Property to "MultiSimple" causes:
Invalid Property Value
Multi selection not supported on CheckedListBox.
The documentation that I have read says it should work.
Any Ideas
Thanks Tag: databases Tag: 63013
Office 2003 / ASP.net web matrix Toolbar Icons
Hello
I am looking for a set of toolbar icons that have the high color look of the
Office 2003 products to include use my project. Does anyone have an idea
where I might find them ? You can't resource hack any of the Microsoft
office executables to find them either, not to mention it isn't entirely
legal to do that.
Thanks
john Tag: databases Tag: 63012
Listview control background image
Hi,
I am using a System.Windows.Forms.ListView control and
would like to put an image in the background. Although the
BackgroundImage property is not exposed in the IDE
Properties window for the control, I figured that the
Listview, being descended from the Control class, should
implement the property, so I used the following code in my
form's constructor (after InitializeComponent(), of
course):
listView1.BackgroundImage = Image.FromFile
(@"C:\test2.bmp");
But nothing happens. I also tried this:
listView1.BackgroundImage = new Bitmap(@"C:\test2.bmp");
But the background is still blank. Any ideas?
Thanks, MP Tag: databases Tag: 63011
Running DTS packages
I have some code that I stole from MSKB article 321525 that I'm using in a
windows forms app (framework 1.1, VS 2003) that I'm having some problems
with.
Basically, if I try using it on a machine that only has the framework
installed, then it fails intermittently. If I use the code on a machine
that has had SQL installed onto it, then it works perfectly. Running a file
monitor over the machine that works shows that it is actually using the dts
files (e.g. dtspump.dll) installed under c:\program files\microsoft sql
server instead of just using framework files.
I'm thinking that next week I need to contact MS to say "What's wrong with
321525?" but, in the meantime....
Could someone confirm that I really shouldn't need the locally installed dts
files
and
Has anyone else had the same kind of problem with 321525? Any solution?
--
Rob Oldfield
www.realuk.co.uk Tag: databases Tag: 63010
how do I retrieve a list of database from a sql server ?