As I say, when I do that I get a pile of results pointing to WMI and SQL Server, but nothing that you can really stick your finger on and say "that's it"!
From what I've been told, it's quite a common problem
User Profile
Collapse
-
The error comes in VS when I try to add a table to my database. The connection is fine (tried that using the wizard) - as it's coming from when I try to do something with the database, I guessed this is the correct forum. If it's not, please feel free to shift it around a bit.
In the meantime, any clues on where to look for either a missing library or whatever else it could be?Leave a comment:
-
Unable to create tables in MSSQL on one machine, but can on another
Hi,
I have an ASP.NET project which relies on a database. I can do just about anything to the database except add tables. When I try to do that, I get the error
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
This is about as helpful as the old BBC B "Mistake" error. Googling seems to have thrown up one of two problems WMI and SQL Server itself. I've tried the fixes... -
Having a problem with a list<> of objects - any ideas?
Hi,
I have a class which looks like this (the class is then used to read back from a webservice)
Code:class fred { string jim; string hilda; int eccles; bool crunn; double vodka; }
Code:public void doSomething() { List<fred> chunky = new List<fred>();
-
I would check the tab values here. While it shouldn't be possible to do it, there are times when duplicate IDs for a tab can be there.Leave a comment:
-
I'm confused. Are you trying to place 5 copies of textbox1 onto a page or are you trying to change textbox1 while it's on the page?
If it's putting 5 copies onto the page, you can - but not in the way you've got it (think about using an array with each textbox being placed onto the page at a different position).
If it's to change the contents then you can
[code]
for(int i = 0; i < 5; ++i)
{...Leave a comment:
-
StackOverflowEx ception is thrown whenever your stack overflows, which usually happens due to recursive functions. This is almost always something like a property or method calling itself infinitely, etc, but there are other things that can cause the stack to overflow.
As adriancs has said, without seeing the code, it's not possible to diagnose properly.
What I'd look for is that you're not generating a massive loop somewhere...Leave a comment:
-
Returning a string from a List, but using an accessor
Hi,
Got a bit of a fun one - but first the code...
Code:using System; using System.Collections.Generic; using System.Text; namespace IndexedClass { class Program { static void Main() // remove the string args[] - unless you're passing stuff in it's pointless! { peoplejobs folks = new peoplejobs(); folks.Person
-
-
You might want to include a UID onto the message or send it to a specific IP address.Leave a comment:
-
Serialization in C# - is there another way to solve my problem?
Hi,
I've got a really dumb and probably very simple question to answer.
I've serialized a class and am passing it between other classes (see below). Is there a way *other than what I have done* so that when control is return to Main, the output is what it should be (see the comments).
Ideally, I'd set in class 2 for Main to be able access the information.
Thanks
Paul
... -
-
Something like this might work
Code:string[] strings = { "Widget 15.50", "Thingy 50.99", "Ratchet25.00", "Clanger115.49", "Fracker75.25" }; double[] values = new double[4]; int n = 0; foreach(string s in strings) { string[] foo = s.split(' '); values[n++] = Convert.ToDouble(foo[1]) }
Leave a comment:
-
Trying to intercept a system filer event in C#
Hi,
I'm designing an application for my students to emulate what happens in a forensics laboratory when an SD card is inserted into an SD reader (I like realism).
While the majority of the software is very simple to do, I'm stumped at overriding the Windows default "what do you want to do with this card" pop-up. Is there a way that I can intercept this event in my application (and release it when the software... -
While I'm nowhere near an expert, I'm at a loss over what System.in is - it's certainly not listed on MSDN. Would it not be simpler to have
Code:string foo = "" int tree = 0; foo=Console.ReadLine(); tree = Convert.ToInt32(foo);
Leave a comment:
-
-
-
Hi,
This isn't too hard...
Code:public class Furniture { public static void main(String[] args)
Code:static void Main()
Code:Scanner scan = new Scanner(System.in); System.out.println("Enter \n 1
Leave a comment:
-
Is this the correct behaviour (List<class> question)
Hi,
I enjoy trying new ways (to me) of doing getting my code to be more efficient. I'm currently working on a database system (front end to an access file with added bits) and have hit upon a problem.
I have a number of tutors containing 3 pieces of information (name, email, mobile number). There can be loads of these and rather than muck around, I've come up with the following solution.
My solution looks... -
Problem accessing an Access database in C#
Hi,
I seem to have hit a problem when try to drag data from an Access file. I know I can do it as I've populated some combo boxes using pretty much the same code, however, the code below is returning nothing and I cannot see why!
Any help would be appreciated
Code:private void searchInformation(List<string> detail, List<bool> opts) { int id = 0;
No activity results to display
Show More
Leave a comment: