Software Development Network Logo
  • Windows Vista
  • Game Technologies
  • IE Development
  • Visual C#
  • .NET Development
  • Visual Studio
  • Visual Basic
  • Visual FoxPro
  • Microsoft ISV
  • VS Team System
  • SharePoint Products
  • SQL Server
  • Visual C++
  • Windows Forms
  • Audio and Video

Software Development Network >> Lokar's Q&A profile

Lokar

Member List

Haim Cohen
Tryst
sawer
Tonito01
ImGivingUp
AlbinCN
John123
chadmv
tomwilde
Greg Wojan
Peter Taslimi
dchurch24
Stéphane Beauchemin
Cla82
Dcoder85
charliestrause
thomas_woelfer
Diane D
su45937
Shady9399
Only Title

Lokar's Q&A profile

  • .NET Development OleDb and datagrid

    Hi, I created a simple database using Microsoft Access and I try to display the data using datagrid. However, there is an error occured if I update the change in the datagrid (update,delete and add). The code is the similiar for Sql database and it works fine. So I just don't understand why there is an error.   [code] dim da As OleDbDataAdapter  Dim db As OleDbCommandBuilder = New OleDbCommandBuilder(da)  Dim dsChanges As DataSet If ds.HasChanges(DataRowState.Modified) Then                     dsChanges = ds.GetChanges(DataRowState.Modified)          &nbs ...Show All

  • Visual Studio Tools for Office Data Binding to Content Control

    hi , I am using Word 2007 B2TR. I want to know if DropdownListEntries of combo box content control be bound to a CustomXmlPart. Noopur Hi Cindy , I have posted it in the link mentioned by you just now but please let me know how you did it as contentControl.DropdownListEntries is not giving me any API taking Xpath of my Combo. Noopur ...Show All

  • Visual Basic My Data Problems :(

    Hi, I have been playing with this for some time: the transmitter end can only send my data as either a byte or a host of other options (that are not applicable). The problem is that each of my values is 12bits meaning I need to bytes / integer to send them (Basicall y 12bit Analogue To Digital data conversions). So I either send the data byte by byte and get vb to assemble the integer or I send it as an ASCII coded hexadecimal integer (another option on the transmitter side) and send a line feed:- in each case I have found this problem: -- Byte by Byte case: - Data send format :- <Data><Data><Data> …… VB side: - Each time there is data the serial port received event is f ...Show All

  • .NET Development Timeout expired.

    I'm getting this error intermittently when execting a sql command. I tried increasing the timeout property of the command object, but sometimes I still get the error. Other appplications may be acessing the same tables. Is there a way to prevent the error System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. using System; using System.IO; using System.Xml; using System.Data; using System.Data.SqlClient; ... SqlConnection Connection = new SqlConnection ( "user id=user;" + "password=password;" + "server=server name;" + "Trusted_Connection=yes;" + ...Show All

  • Visual C# Autogenerated Code directory

    I am writting a DLL to control an external device. I have defined my interface. However, I changed the relative path for the main file that has my interface definitions. Now when I try to add new functions to my interface, the IDE gives me an error. If I do this manually it works. I have a lot of functions to add and doing it manually is not the best way to go. Upon close inspection, I discovered that the IDE tries to create another destination file in the default location. How do I make the IDE know where to place the function ito the directory location to start looking for the right file from. The error I get is: "Failed to return new code object. Possibly syntax error. ...Show All

  • Windows Forms Cursor not visible after DroppedDown property is set to true

    Hi,      I have a dropdown control with few list item in it. I am setting the DroppedDown property to true in the textchanged event to show the dropdown, the problem is the mouse coursor (the pointer) is not visible after the dropdown is shown, its stuck inside the dropdown and only when the focus comes out of the control I am able to see the Mouse pointer again. Am i missing something. Regards Deepak This problem is reported in Product Feedback ; it is a side-effect of the Windows "Hide cursor while typing" option, set in Control Panel + Mouse. I tried fixing it by calling the ShowCursor() API function but that didn't work. Triggering the dropdown with a timer ...Show All

  • Visual Studio Tools for Office how to add text in excel file using vb.net

    can anyone tell me that how i can add text in Excel file using vb.net. i am trying to using the following method. Dim folder As DirectoryInfo Dim file As FileInfo Dim i As Integer = 1 folder = New DirectoryInfo(path) For Each file In folder.GetFiles() ObjWSheet.Range("A1").Value = file.Name.ToString() = "my text" i += 1 Next This forum isn't exactly the right place to ask questions about Office automation, but I can, I hope, give you a quick tip to get you going. In the future, you should post such questions in http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US When trying to automate Office ...Show All

  • SQL Server SQL Server 2000 and 2005 on one machine?

    Hi, i have SQL Server 2000 running on my notebook for learning purposes. Is it possible to run SQL Server 2005 on the same notebook without using virtual machines Thank you, Tobias As others have said, sure no problem. The only thing that I would add is: if this is a production box be aware that the SQL Server instances are completely independent of one another. In a sense this is good because you can start and stop one instance without affecting the other instances. But in another sense this has a drawback. The compete with each other for system resources - memory, CPU, etc. So you may want to adjust the amount of memory each instance can use. HTH... Joe ...Show All

  • Windows Forms Disabling TextBox fires Leave event

    Hi, i have a winform designed using Visual Studio 2005 Express Edition. There is one textBox with Leave event for validation purpose. When i programmatically disable the textBox, the textBox's Leave event is fired which is very surprising and not desirable. However, when the textBox is enabled programmatically, the textBox's Leave event isn't fired. Why does textBox's Leave is fired on disabling this control and is there a way to make these two independant Thanks, -srinivas yelamanchili Well, here we are first changing the focus from TextBox1 to TextBox2 (which fires TextBox1 Leave event and is valid). However, with focus on TextBox2 when Button1 is pressed, TextBox1 Leave event is fired when TextBox1 is ...Show All

  • Windows Forms Check If sql Server Exits

    hi is there a way to check if sql server exist when creating and installer (i want to create an installer for a program and during setup i need the installer to check if sql server exits ) Hello I have this same question, but i am looking for if sql server express edition exist. In VS.NET 2005 Instaler I added serach registry key, but what i must to write to property, regkey or Value in serach for regisrty entry properties ...Show All

  • Visual Studio Express Editions hmm

    Hello..   I am new to all this programming stuff .. Hmm... i am trying to make a simple macro to a game.. I want to repede some text hmm lets say that i press a botton then the program starts a timer.. this timer will take the text from a textbox and will add that text in my game.. i have done that by useing my.computer.keyboard.sendkeys(textbox1.text) and it is puts the text into the game and its nice.. Problem: how do i make my program press Enter in the game cuz i have tryed to use the my.computer.keyboard.sendkeys(ENTER) and it says that enter is an event and someting.. I don't understand that help please..     The short answer is, NO. Not with Visual ...Show All

  • SQL Server The Problem 800a0ea9 absolute recipe what ?

    Windows X64 - IIS6 The Problem 800a0ea9 absolute recipe what conn.asp <% set Bag = Server.CreateObject("adodb.connection") strConn = "DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=" & Server.MapPath("db/vt.mdb") & ";" bag.open strConn %> ADODB.Connection error '800a0ea9' Provider is not specified and there is no designated default provider. /test/ vt. .asp , line 16 Found the cause of your problem. http://support.microsoft.com/kb/197902 I suggest you use Jet oledb provider instead. <% set Bag = Server.CreateObject("adodb.connection") strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & ...Show All

  • SQL Server SQL 2005 Service Pack 2

    Can anyone tellme when SQL 2005 Service Pack 2 will be out It is a big problem when I can't look at an existing role and see what permissions are for a group of objects. I found this in forums: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=605425&SiteID=17 quote user="Bill Ramos"] Actually - we have a "fix" in for our service pack 2 that will be available in CTP form later this summer that will list all of the securables for a given principle that have been explicitly set. You may need to use the "Effective Permissions" button to see if the principle actually has permissions on the securable. Thank you, Bill Ramos, Lead PM, SSMS Just providing the link to SP2 CTP ...Show All

  • Smart Device Development IO.Ports.SerialPort - issue with .BytesToRead and DataReceived Event

    Hi Folkes! I'm currently developing an infrared IR-communication software for PocketPC's with Windows Mobile 2003 SE and Windows Mobile 5.0 The communication is based on:    PocketPC virtual serial-port --> IR    and    IR --> Device serial-port. I wrote a communication-library for windows first, which worked perfectly with a real serial conncetion (no use or IR). The same code should work for the virtual serial-port and IR, since it's only a simple IR serial-bridge. Here comes the issue: It's possible to write data from the PocketPC to the device with .Write() It's possible to read data from the device with .Read() and similar. BUT: it's not possible to dertermine how may b ...Show All

  • Visual Studio 2008 (Pre-release) Configuring Elementary Security

    I'm trying to just get a service working from outside a domain and am getting nothing but headaches trying to get it going. Here's my configuration for now: < bindings >    < wsDualHttpBinding >       < binding name = " wsDualHttpBinding " >          < security mode = " Message "/ >    </ wsDualHttpBinding > </ bindings > This works locally, but I get an error on the client saying it couldn't work out the SOAP security. As I understand it, WCF uses Windows credentials by default for wsDualHttpBinding and this would make sense because it works locally, but not on the other computer. To get around this, I tri ...Show All

©2008 Software Development Network