JayWK's Q&A profile
SQL Server Changes not committed in SQL Server Project
I am brand new to vb.net and Visual Studio. I am following a series of lessons where I am supposed to be able to connect to a SQL Server Database bind the db to a form and then edit, add and delete records from within the form. When I run the project everything appears to work correctly, I can change the table data, add or delete rows but once I close the project and look at the underlying data, none of the changes are reflected. When I re-run the project, the data is just as it was before I made the changes. I can edit the data directly in the tables and it works as you would expect. I'm sure that this is something bone-headed that I ...Show All
SQL Server How to run package with variables using dtexec?
Hi, I am running my package in this way: exec xp_cmdshell 'dtexec /SQL "\SBLoadExcelDBLog" /SERVER test /USER **** /PASSWORD ***** /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING EW /LOGGER "{6AA833A1-E4B2-4431-831B-DE695049DC61}";"Test.SuperBowl" /Set \Package.Variables[User::varExcelFileName].Properties[Value];"aaab" /Set \Package.Variables[User::varExcelWorkbookName].Value;"Sheet1$" /Set \Package.Variables[User::varExcelFileFullPath].Value;"D:\testshare\aaab.xls" /Set \Package.Variables[User::varDestinationTableName].Value;"F ...Show All
Visual C# Reading A File...
I have created a form with a menu, which contains the menuitem 'Open'. What I want to happen is that when the user selects the 'Open' menuitem, the user is able to specify a file to open. Note: The file just contains the following text: "1,2,3". I will then want to read the text from the file and modify it. I'm not too sure how to go about doing this. Any help is appreciated. Thanks, Create an instance of the Open File Dialog and fill the properties. Then show the Dialog. OpenFileDialog openFiles = new OpenFileDialog ( ); openFiles . InitialDirectory = "C:\Temp\&q ...Show All
Visual J# Dynamically adding items to asp:ListBox
Hello again, What I want to do is create a webpage containing a ListBox. This listbox will be dynamically populated once the page is loaded. I am programming in J# and I am writing a function that will populate this listbox. Is there a way to dynamically add items to the list Right now I have the following html: <asp:ListBox ID="listBoxUser" runat="server" OnLoad="getUsers"> <asp:ListItem Text="a" Value="a"></asp:ListItem> <asp:ListItem Text="b" Value="b"></asp:ListItem> <asp:ListItem Text=&quo ...Show All
Visual Studio Express Editions Is The OOP Microsoft.VisualBasic.IIf Equivalent To the Procedural If Then?
so I guess the thread was locked due to thinskinned vb'ers, unfortunately bronco has a fantastic question in his last post and it certainly warrants discussion. . . This Particular Microsoft.VisualBasic.IIf Is extremely important to me.... If Microsoft.VisualBasic.IIf is Equivalent to the Procedural "Classic" If then.... If it is Equivalent I can Transist to Pure OOP by using Descision Tables, Boolean Algebra and other CS techniques First, iif and If/Then have nothing to do with OO. Iif is a conditional assignment function . .. necessary because VB lacks a conditional assignment operator. if / then is typical ...Show All
Windows Forms TableLayout help needed in setting up.
I am trying a simple Usercontrol and I would like to use the tableLayoutPanel,but Cannot work it out how to make the various Columns resize accordingly. the control (Folder Browser Locator) consists of (Label- text- Button) You can already immagine how it should work The label should be allowed to autosize and it's column grow accordingly but fixed otherwise The text should grow in length only if the user tries to resize the control The button should stay the same size all the time but move along with the rest I have added a TableLayoutPanel with 3 columns 1 Column (label) 2 column (textBox) 3 column (button ) I have trie ...Show All
Smart Device Development Info About Framework
I have a question : What is the OpenNETCF Must i install it or not Thanks Alessandro You can learn about OpenNETCF by visiting the website. http://www.opennetcf.org/ The primary offering is the Smart Device Framework (SDF). The SDF is a framework that sits on top of the Compact Framework and adds additional functionality. You don't need to install the SDF, to have a functioning managed application, unless you've referenced it from within your project. ...Show All
Visual Studio Team System Name instead of UserID in Assign To dropdown list
Add name instead of userID in Assign to – who knows a devlopment teams (10-20 people) all userid’s xx98237d. Hi Daniel, Thanks for the reply, it was a AD side issue as the display names for some users were mentioned incorrectly. Regards, Vijay ...Show All
Smart Device Development How to handle Call interrupt
Hi Can i know how to handle call interrupt in a game developed using Visual Studio.Net2003 with C#.Net Waiting for valuable replies Thanking in advance Sinu.M ya i will explain I created a shooting game in MotorolaMPX220(Smartphone).If a call comes when i am playing, the game screen automatically go to the background screen of the incoming call.Here the game will be go on playing.After the call end i will not be getting the correct game state. So i want to handle the call interrupt from the game that means i can pause the game when a call comes a ...Show All
Smart Device Development Pocket Office on emulator
Am I correct to say that there is no Pocket Office on the emulators (I tried the smartphone SDK, haven't tried the Mobile 5.0 SDK) Can Pocket Office be installed on the emulator and how Well the other solutions that have been available are not a robust as the option in Pocket Word. The has been one of the most useful features in Pocket Word and removing that feature from Word Mobile is a bone-headed decision. You could have actually made the Pocket PC inking translate into WordArt drawing on the desktop. I will NOT purchase a device that will not have the drawing capability directly inside Word Mobile. It has been a good run, but I gu ...Show All
Visual Studio Keyboard event capturing
Hi, I am currently developing an add-in for debugging LUA (scripting language) code from within the visual studio environment. However, i cannot seem to find any way to capture keyboard and mouse events, can someone please tell me how to do this because i need to provide the default F10 key for stepping through the LUA code within the VS environment. In addition i would also like to know the type of object that represents the left window pane i.e. the area where break points and debugger -> (current statement) indicator appears. Can i use the default -> indicator for my own usage, if yes then can someone please tell me how and what ...Show All
Visual Studio File, Save As fails with a managed Language Service
Allen Denver's RegEx Language Service sample (see gotdotnet, http://www.gotdotnet.com/workspaces/workspace.aspx id=2c0db3c9-a3bd-4116-bc1f-6c84a898e034 ), is registered against .foo files. When a .foo file is loaded, then File, Save As... doesn't work. A message box saying "The operation could not be completed. The parameter is incorrect" is shown. This is on the RC build. This also happens with the Language Service I'm trying to write. It works fine with the Xml Language Service. Anyone know what I need to implement in a manged language to make File Save As work Mark. I found the answer. You ne ...Show All
SQL Server Parameters in URL - Problem
Hi, I am new to Reporting services and have managed to create some reports. I want to pass some parameters in the URL to the report. I know how to do this but some parameters are not passing to the parameter boxes. They are clearly displayed in the URL but are not populating the boxes. I have one report done before i came and this used to work but now it doesnt work. Any ideas Matt Hi Matt, i am unable to understand ur prob completely. But still, if the parameter field is a dropdown list, then the value for that parameter passed in the URL should exists in the dropdown list or else ...Show All
Windows Forms Hooking Partial Class Constructor with 2.0 DataSets
I’m using ADO.NET 2.0 Strongly Typed DataSet generated by VS2005b1. VS provides me with a Partial Class so that I can customize the DataSet. I would like to reset all primary keys to use AutoIncrement[Seed&Step] = -1 using: Partial Public Class Core ' must reset all primary keys to use AutoNumber -1 Protected Sub Init()   ...Show All
.NET Development How do i secure my DLL from being spoofed
Hi, i have this model. a wndows application made up of GUI and 3 DLLS DLL perform the presentation layer duties. DLL2 is the business layer and DLL3 is th DATA acess layer... Now DLL3, is encrypted, obfuscared etc... it has a unique serivce acount (single user account and password) to access the database. The acount info are embded within the DLL. What is wrong with this model What can i do to improve it or to prevent someing from spoofing the DLL3 ( data access layer) By extention how to make sure communication with the server is not tapped into to intercept the acount info maybe using forced encrypting on the clien ...Show All
