meatz's Q&A profile
Windows Forms ClickOnce initial download VERY slow
Greetings: I have a clickonce issue I'm wondering if others are seeing or know about. I published a multi-file (like 500 files) application that is about 10MB. When doing the initial install from a URL via IE, it takes 10 minutes or so to download the app. It will sit on like "319K of 10MB" for like 30 secs, then move to "345K of 10MB". You could download a 10MB file on a 28.8 modem faster than this. The kicker is that this is all on localhost! Sometimes (maybe most/always, I usually go away since it takes so long) when it gets about 1/2 to 3/4 way there it speeds up to normal. Is there something going ...Show All
Visual Studio Express Editions Chat app connection problem
Hello Im' making a chat app(based on some source code I found for one), but I have a problem. I can only connect to it through a lan ip, not over the internet. This is the server code: (2 files) --------------------------------------------------------- Imports System.Net.Sockets Module Module1 Const portNo As Integer = 500 Dim localAdd As System.Net.IPAddress = _ System.Net.IPAddress.Parse( "127.0.0.1" ) Dim listener As New TcpListener(localAdd, portNo) Sub Main() listener.Start() While True Dim user As New ChatClient(listener.AcceptTcpClient) End While ...Show All
.NET Development Need help getting started...can't find C# compiler
Hello, I installed the Microsoft .NET Framework 1.1 Redistributable and Microsoft .NET Framework 1.1 SDK . I created a "Hello World" C# sample program but there does not seem to be a csc.exe on my PC. Does the compiler not come with the SDK Any ideas what I'm doing wrong Eric The compiler ships with .NET. By default the .NET framework is not included in the system path so you'll need to either change to the appropriate directory or modify your path. You can find the .NET framework under %windir%\Microsoft.NET\Framework\ v . v is the version of the framework. In your case it'll be v1. ...Show All
Smart Device Development phone.dll: MakeCall fails on new qtek (v5 3g wlan keyboard phone)
Hello. I have a problem on a new device. It is a new QTEK with keyboard. phone.dll - MakeCall("don't ask before calling") places the calling dialog so that the center of it is at a vertical position 2x what it should be, before the dialog hangs. My app is orientation and resolution aware, and the problem is the same no matter what orientation I use. This is a breaking change from emulators and (multiple) earlier phone and pocket pc versions, including Qtek 2020, which I know others have had problems with MakeCall() on . Please help! I discovered this problem too with the iMate JasJar device, I've reported it ...Show All
Visual Basic VB5: Run-Time Error '380'
This is very frustrating. A VB5 program I wrote years ago stopped working and is now giving me this error: Run-time error '380': Invalid property value I cannot figure out what has changed, since I run that program almost daily. It was working fine, then stopped (without any changes to the program). I suspect I may have uninstalled something it uses, but cannot figure out what. When I open the VB5 IDE, I get an error saying: 'c:\program files\devstudio\vb\Comct232.ocx' could not be loaded--Continue Loading Project If I say no, it does not load and I cannot see the source code. If I s ...Show All
Visual Studio Express Editions timed events
hi... i was just wondering if there was some sort of command to wait a certain number of seconds before it went on to do the next command. If i need to do this a certain way with complex code, show the code if you could. threading.thread.sleep(100) 'wait for .1 seconds Information at: http://msdn2.microsoft.com/en-us/library/d00bd51t.aspx Ed ...Show All
.NET Development .net equivalent of vb6 winsock
My application needs to read a barcode string that is sent via tcp/ip from a camera on the network. I have done this before with VB6 using the winsock control and using the DataArrival method. What is the .net equivalent Is it the socket or tcClient class that I should be using Great stuff. Thanks. Got it going. But where's the DataArrival event that the winsock control used to have ...Show All
.NET Development problem in my server
thanks us i have a server and i work in windows 2003 server sp1 with dhcp and dns and active directory i need to make my server nat just router to give the client internet i dont have vpn network just internal network only i configured the dns and dhcp and active dirctory and made the nat from router and remote acces but i dont know why client dont have internet when i install isa server 2004 the internet in server or browser is down and the server dont give client dhcp and make the conflict with client in ips i dont know why note : i have sattalite connection my speed is 1g download and 256 up load i think ...Show All
Visual C++ How to Read the Log of Sql Server
Hi, In the "Query Analyzer" , Type "DBCC log...." Will Display the log of a Database. But In VC++ ,How to retrieve the result of Log file of Database in Sql Server thanks for your reply I wrote some code to find that it woule retrieve the log in vc++ by ado, same in .net by ado.net. Robert Wang ...Show All
SQL Server Help! Transfer of database from SQL Express to SQL 2005 host environment
Help! I have been testing my system on my development PC using SQL Express. Great! Now its all working and I have 4.5Mb of data, and about 50 tables plus queries. HOW DO I GET THIS TO MY NEWLY SETUP HOST ENVIRONMENT! Argh... There seems to be no way to export from SQL Express to SQL 2005. The host company cannot restore from backup (I think this is reasonable.) What was microsofts plan here What am I missing I have searched the net, and I have found about 20 people asking the same question with no answer. Best answer I found was on this forum where somebody said download SQL 2000 as a trial, then steal a tool called DTS which apparently do ...Show All
.NET Development <add assembly="*"/> // Configuration Error
Hi! We are trying to publish a project in a .NET web hosting provider but we are stuck with this error. I wonder if you could help us to discover what it may be related to: Thanks in advance Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Source Error: Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d ...Show All
Visual C++ number counter issue
Hello, I am trying to do something simple I hope. Basically I have a counter in a for loop that counts from 1 to 500. for ( int i = 0; i < 500; i++) { cout << i; } when this runs, it displays the numbers one after another like so: 123456789101112131415161718192021223 .....and so on. I would like it to display one on top of the next number and not move one position to the right. So basically, if I slow it down, the user could actually see the numbers being counted out, but they will remain in the first position and not move over to the next position each time it is printed out. Basi ...Show All
Visual Studio Express Editions Trouble creating an Array of Objects
I'm having trouble creating an array of objects. I created a class StudentInfo. I'd like to create and array Student() of StrudentInfo. At design time I do not know the size of the array. I have attempted many different variations. This is my latest: Public Student() As Object i=0 While Not file.EndOfStream txt = file.ReadLine Student(i) = New StudentInfo() Student(i).myInfo=txt i += 1 End While The code compiles and runs, but in the statement " Student(i) = New StudentInfo() " I get a run time error. The error is {"Object reference not set to an instance of an object."}. If I cha ...Show All
SQL Server Use of Stored Procedures in SQL Reporting Services 2000
I am VERY new to SRS 2000 and VS 2003. I want to call a stored procedure from within a query's temp result set. I select data from a db, put it into a inline #t table, then I want to use an entry in the table as a parameter into the stored procedure to put the result of the SP into a field in the #t table called num_days Only 1 parameter is coded into the Stored Procedure and it is @package_id no where can I find an example of how to call a stored procedure from within SQL Reporting Services - everything says "use a stored procedure" or call it. But not a code example anywhere of how to actually do it within Report Serv ...Show All
SQL Server Can't seem to build simple cube in SQL 2005
I have a relatively simple cube, with the exception that some of the tables in my data source view are named queries from different databases. Whenever the cube processes, it fails with the following error: Errors in the high-level relational engine. The following exception occurred while the managed IDbCommand interface was being used: Out-of-process use of OLE DB provider "SQLNCLI.1" with SQL Server is not supported.. When I switch the data source to use the OLEDB for SQL Server instead of the native client, it complains of invalid columns in the query (there are no invalid columns in the query, I can browse the data from the designer ...Show All
