Oktavia's Q&A profile
Visual Studio Team System SQL Server 2005 April CTP - Invalid SSPI Packet Size
When I bring up SQL Server Management Studio and attempt to connect to the default database using windows authentication, I get a cannot connect error because of Invalid SSPI Packet Size. If I try again it works. This is causing me problems installing the application tier. Does anyone have a clue what I can do to fix this I'm seeing the SSPI packet size error in the June CTP as well. I've ...Show All
Smart Device Development Detect WiFi and/or Active Sync connection
Hello! As the subject probably already told you I want to detect wether the WiFi is connected and wether Active Sync is connected. I found this topic : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=119178&SiteID=1 If thats the best way to do it, do I have to include the whole OpenNetCF.Net dll (94k) or is there a way to do it with less memory Other solutions are welcome too! You can use particular portion of the source cod ...Show All
Windows Forms SEHException
I have a SandBar hosted on an MDI Parent form, which contains a ComboBoxItem. On an MDI child form, I have a text box which, on the Validating event, checks the content, and if it doesn't recognise it as valid, the code opens a dialog  ...Show All
SQL Server Report Model Descriptions
Does anyone know if there is a way to display the "description" field of an attribute in Report Builder ...Show All
Visual Basic counting letter
How to count letter from input text file I've done for counting letter from textbox: Text = txtText.Text txtText.SetFocus For I = 1 To Len(Text) Aschii = Asc(UCase$(Mid$(Text, I, 1))) Select Case Aschii Case vbKeyA To vbKeyZ LetterCount(Aschii) = LetterCount(Aschii) + 1 Percent(Aschii) = LetterCount(Aschii) / Len(Text) * 100 Case Else End Select Next I For I = vbKeyA To vbKeyZ ...Show All
.NET Development .Net 2.0 web app database caching
We are creating a .Net 2.0 web application which will connect to an existing SQL Server database. We have an existing Win32 app which simply makes OLE calls with embedded SQL queries; every time we need a field we do the query again. We went this way because the database values may change during the life of the application, the database and app ran on the same intranet, and we let SQL server handle caching. For the web app, however, we are conce ...Show All
SQL Server INSERT fails - problem with SQL command or SQL server?
I've posted this on http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=85&SiteID=1 , but it might be better here, so I've re-posted. I'm looking after a batch system which posts files to a asp site. This de-constructs the files, builds a SQL INSERT/UPDATE/DELETE statement and executes the SQL. If this fails, I assume that there is a problem with the SQL, invalid column names, duplicate records, etc. It is critical that the applic ...Show All
Visual Studio Express Editions Can't assign a property from a module
Hello I have a form called Mainform and a module called module1. On the form, there is a statusbar with a label and a progressbar. Now I have this code in the module: '// Place a progressbar an our statusbar Public Sub provide_status( ByVal text As String , ByVal complete As Integer ) Mainform.ToolStripProgressBar1.Visible = True Mainform.ToolStripStatusLabel1.Text = text Mainform.ToolStripProgressBar1. ...Show All
Visual C++ Newbie question about VS in general...
OK, I got a version of VS... but im having real troubles getting anything done in this... I mean I know how to write "hello world" for example but err how to compile for one and what kind of a file/project do I choose... they all just give me these big source codes from the start but what if I want to do something all my own (hello world for example )... someone answer me quick... It looks like your project consists of two files ...Show All
.NET Development Please Explain "A Proxy Class" and "System.Net.CredentialCache.DefaultCredentials"
What is the difference between using (1) a proxy class, and (2) the below code Dim ws As New <hostserver>.Service1 ws.Credentials = System.Net.CredentialCache.DefaultCredentials ___________________________________________________ Are they the same Depending on the context. With regard to a WebRequest: A proxy class (ie System.Net.WebProxy) allows you to specif ...Show All
Visual Studio Express Editions On the right track?
Hi, i'm new to vb and am just trying to make a small app to help myself learn. I was just wondering if my code "style" is on the right track. I realize that the code may be a bit over commented but me and a friend are collaborating on this and i think its better to over comment at this point. We are just making a small ftp app that will upload a file using the FTPWEBREQUEST class. We realize that this doesn't maintain a connec ...Show All
Windows Forms Setting a datasource for a listbox causes a SelectedIndexChanged. NO!!!!
I have a DB winapp using one form and a bunch of listboxes I re-assign the datasources of the listboxes as other listboxes are changed this causes the SelectedIndexChanged to occur. I do not want this. I want that event to only happen when the& ...Show All
Visual Basic Clear Text Boxes in multiple Tab Pages with a single function
I have a Data-Entry Form (VB.NET 2003) with a Tabbed Control. There are four Tabbed Pages and each Tab Page contains same set of Combo Box and Text Box Controls and require similar type of values. However they have been categorized in different Tab Page so as to facilitate entry for a novice user. The first Tab Page contains Text Boxes like: txtVehicleRegNo1.Txt txtName1.Txt txtCamera1.txt Similarly, the second Tab page contains: txtVehicleRe ...Show All
.NET Development ...and still cannot see the server from Visual Studio
I've got both SQL 2000 and SQL Excess, er, Express on my PC doing C# Pro development. If I try to Add Connection to get a data source, I can select an Express database MDF file, and operate on the data OK, but cannot select the Express server - it does NOT appear in the server list. I added the server SQLSERVER.EXE to the Windows firewall 'Exceptions' list, along with Vis Studio - no change. I CAN select the SQL 2000 server OK. ...Show All
Visual Studio Express Editions How Can I Copy Source Code from Book Souces or MS WebSite to My Windows Application Form1.vb
Hi all, Is it possible to copy the VB Express code from Book Souces or MS WebSite to my Windows Application Form1.vb If possible, please tell me how to do it and how to make the code to be used by the component tray. Thanks, Scott Chang hi, its like any text editor like you copy text from a word file to another you can copy code(text) from any place to IDE actualy microsoft site have a nice option at the top of code snippet ...Show All
