ljw1611's Q&A profile
SQL Server Create user error!
I have just managed to have JDBC working, but I am getting an error that the user does not exist. I have read in the MSDN help that I need to set the sqlExpress to accept SQL server authentication and not windows authentication. So when I am trying to create a new User using Microsoft SQL server management studio express I get the following error. TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Create failed for Login 'adam'. (Microsoft.SqlServer.Express.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.M ...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 code from OpenNetcf.org if 94K is a problem. ...Show All
Visual Studio Team System config files while testing
I have certain config files in my application. When i run my unit tests, they fail saying that the config files cannot be found. Please suggest. Hi Payal, Can you provide more information on this, a) Are you using Visual Studio 2005 b) What language are you using (C#, C++ ) c) What kind of config files are you using, and how did you add them to your project d) Can you provide the exact error message Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All
Visual Basic From VB6 Pro to Visual Studio 2005 Pro Upgrade
i always used VB6 for development, now we want to start new projects in VB 2005. contacted Microsoft Australia, and was told that i cannot buy Visual Basic 2005 seperatly, and need to buy Visual Studio Pro 2005. i wanna know if i purchase Visual Studio 2005 Pro (Upgrade), can i upgrade it from MS VB6 Pro Note: i have only VB6 Pro no whole Visual Studio 6 Pro. thanks veyr much in advance for your response. Is it just me I just don't recall there being a stand alone version of VB 6 for professionals. Perhaps there was, but I can't recall and looking it up went nowhere. For me I bought VB 6 Learning Edit ...Show All
SQL Server How can i secure my MDF file?
If a user is a local admin of the box they can gain full access to the database via integrated security. They can create their own database and attach .MDF How can i secure the .MDF so that no one can gain access to it Hi, Open Enterpirse Manager and navigate to Security and then expand Logins. In the Logins delete the entry Builtin\Administrators and specifically add the user whom u want to give access to. Regards, Vikram ...Show All
Windows Forms null value causing combobox column of datagrid to crash
Hi, I have added a DataGridTimePickerColumn in DataGrid and I am mapping it to a datatable but whenever the database has a null value the DataGridTimePickerColumn crashes which eventually crashes the whole datagrid. This is how I am implementing DataGridTimePickerColumn DataGridTableStyle DGTStyle = new DataGridTableStyle(); DataGridTimePickerColumn timePickerColumnStyle = new DataGridTimePickerColumn(); timePickerColumnStyle.MappingName = "SomeColumn" ; timePickerColumnStyle.HeaderText = "ColumnHeader" ; timePickerColumnStyle.Width = 100; DGTStyle.AllowSorting = false ; DGTStyle.Prefe ...Show All
Smart Device Development DPAPI user mode on Windows Mobile
Hello While trying to understand the workings of DPAPI, I am at a loss in understanding how User Mode would work on a Windows Mobile device where a user hasn't specifically logged into a domain. The reason I'm asking this is because the documentation of DPAPI mentions that encryption in user mode occurs based on the user's password. However Mobile users don't usually need to log in, so where would this OS level API get the user password from for encryption Can someone please explain this working on a mobile device...... Thanks Amit This looks like a windows mobile API question... You are more likely to g ...Show All
.NET Development access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connect using RUN and the IP address. Whenever I try to connect the laptop to the desktop I get the same message; \\... is not accessible. You might not have permission to use this network resource. Cont ...Show All
Visual Studio Team System Just got BETA2 dvd... confused! help!
Hi all, Ok, I've just received my beta 2 dvd from ms (vs2005 team system beta 2), and i have to say I'm overwhelmingly confused. What do I need to install Where do I install it The so called Installation Guide just confuses things even more. So.. from clean install, what do I need to do It's an xpsp2 machine with IIS6 I've also just noticed some posts mentioning AD. I don't have win2k3, does that mean I can't use this beta Can I at all use this beta Or is it completely useless to me! Help appreciated! Cheers Dan Great! So how do I install Team System on Windows XP SP2 How do I create the required users, ...Show All
SQL Server ANALYSIS SECURITY
Here is the scenario: 3 different company dimensions, "Billing Country","Receiving Country","Main Country" There are three companies in these dimensions: Canada, USA, Denmark. Now, in actuality there are more countries, but we'll keep it simple in this example. This makes the possible combinations as follows: BILLING COUNTRY RECEIVING COUNTRY ...Show All
SQL Server error: 40 with sql server 2000
Hi I am getting this really annoying error that I cant resolve. I have created a website that accesses a SQL SERVER 2000 database and it works perfectly on my home machine. The error has occurred when I have transferred it to my hosts server. This is the error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) This is my connection string: < add key ...Show All
Windows Forms Progress Bar
Howdy, I have a form that currently does a lot of processing when a button is clicked. I want to show the user a progress bar while the processing is being done. I want to open a new form with this progress bar that will update the progress bar as it processes and then close the window when it's done. Unfortunately I can't f ...Show All
Visual Basic ScreenSaver Preview Mode
Hi all, I'm making a screen saver app. All is well, aside from when drawing inside the preview window, how do we know when to stop the app from drawing here's a sample of my code. The Sub Main() is my startup sub. Public Sub main() Dim args As String = Command() If args = "" Then frmSS.ShowDialog() Exit Sub End If &nb ...Show All
Visual C++ Structure deletion?
I got a dynamic structure array in a class. In that classes destructor I delete a pointer to the said array. That deletion causes an error! After that, I tried to free(pArray) but this also causes an error. Is it necessary to delete this pointer at all Hey, is it better to use a class instead of struct Does this represent a better programming practice ...Show All
Windows Forms yet another datagrid question
hi... i need to get the current selected row in a datagrid... the datagrid has 3 tables, how will i know which table is being displayed thanks! ...Show All
