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

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

Thymen

Member List

REche
one_pom
vrushali
KevinDSE
vaishalli
shivShiva
Seradex
MShetty
Jinlin Chen
OrpheusTheBard
phoenixoxo
ahalyal
Trainwreck
Keithyboy1
Warren Trotter
pmxinos
Mateusz Rajca
Danny Tuppeny
hrubesh
pjam
Only Title

Thymen's Q&A profile

  • Software Development for Windows Vista Vista not appending primary DNS suffix beyond one level deep, Anyone Seen this ?

    This is new to Vista as XP works fine. When you simply set append Primary DNS suffix, the system should always append it, such that is your domain is mydomain.com, and you look up www, it should append so the FQDN=www.mydomian.com That seems to work fine, but if you do one more deep, such as www.test , you would expect as in XP and in DNS in general to append the primary suffix, such that the FQDN = www.test.mydomain.com Vista does not do this, and this is a very major problem for our company as we have many DNS zones and normally the user does not need to append the domain he/she is in and it should recursive lookup. It is not. We are not going to GPO 100 domain suffixes to each workstation just so they don’t have to type the & ...Show All

  • .NET Development Where to place the connection string

    Hi, I'm creating a Windows app and was wondering where to put the connection string for all five of my methods In my web apps I've always put the connection string in the web.config file but am not sure where to put it on a Windows app, and also how to reference it from its location. Can anyone please help Many thanks, Ok once and for all it's now sorted! Right-click on the project name in solution explorer and go to properties. Under 'settings' put the following items: Name: put in what you want your connection string to be called. Type: select (connection string) from the drop down - close to the end of the list. Scope: select Application Value: enter your connection string (mine was: Data ...Show All

  • Visual C++ Threads in .NET Forms Application

    I have a .NET Forms Application that I am writing and I want to have a dedicated thread that I can use to run a piece of code that I need to pull a record from a database table and process it. I want to use one thread to make sure that the record can't get processed twice. Only one instance of this application will be ever running so I shouldn't need any more protection than this. How should I go about setting something like this up in a .NET forms application. Where would be the best place to create the thread Or should I be using the ThreadPool somehow I am new to threads so any input would be helpful. Thanks, Michael It looks like this is only available in the .NEt 2.0 Framework. I can only use ...Show All

  • SQL Server Export from different environments does not work

    I have one main report with several subreports. We have two environments, one called cert (for testing) and one called prod. This report exports to excel fine in cert but does not export in prod. I have verified that all of the rdl files are the same in each environment. I have pasted the errror message from prod below. I have been told that there is no configuration difference between the two environments. Here is hoping someone has seen something like this before. Server Error in '/Reports' Application. For more information about this error navigate to the report server on the local server machine, or enable remote errors Description: An unhandled exception occurred during the execution of the current web reques ...Show All

  • SQL Server Select Data based on Certain Time period

    Hello all, I am using SQL Server in a project where I want to fetch the records that were inserted after a time specified in my query. Suppose 10 records were inserted at 10:00 AM(morning) and 5 were inserted at 10:15 AM( 15 minutes later). I am running a query at 10:20 AM( 5 minutes after the second transaction). I need this query to be such that it selects the records inserted 10 minutes before. So it will show only the records inserted at and after 10:10 AM and willl not show those inserted at 10:00 AM. Please help me in making such a query. I am trying and I think that some Date & Time functions will help but still not able to achieve it. Thanks in advance Hi, SELECT * FROM SOMETable WHERE SomeDateColumn >= ...Show All

  • SQL Server Problem with Transaction Logs

    Hi, I have a big problem with transaction log. I need to reduce the transaction log file becouse, the have 25 GB, but when i run the statement for BACKUP LOG with TUNCATE_ONLY, dont work, becouse i have database mirroring installed. Please is very urgent. Your transaction log is divided into boundaries called virtual log files. Inside the tran log, there is a pointer that keeps track of where it is currently writing. When the log pointer reaches a VLF boundary, it can wrap around to the beginning of the file and start reusing space. When you run a shrink, it starts at the end of the file and removes space until it reaches a page in the log that is still in use, then it stops. So, basically, keep running your transaction ...Show All

  • Visual Basic exception in cropping the image with webcam

    Hi,    I'm developing an application in which i'm using a webcam to capture the image.I'm getting an error while copying the image from the captured window to another form.   The process is   i have a button and a picture box in one form (form1).once i click on the button the capturing window will open which have 4 buttons   startpreview,stop preview,capture image and crop image   everything is working fine when i was capturing and cropping the image for the first time.but when i click the button in form1,and do the process the exception occured in cropping here i'm sending a part of code and the errormessage     Private Sub cropImage(ByVal filName As String)       ...Show All

  • SQL Server Clone DB

    Helloo Can I backup DB programatically , and then restore it with different name also programatically meaning: I have db2006, can I backup this db then restore it as db2007 programatically using a stored procedure for example So by doing this the user will be using db2007 @ the begininng of the year and so on each year I'm using sql2000 Please I need your help Thank you hi, you can use sp_attach and sp_detach. notice you can attach it with different db_name Examples EXEC sp_detach_db 'pubs', 'true' copy the files and attach it with different dbname EXEC sp_attach_db @dbname = N'pubs1', @filename1 = N'c:\Program Files\Microsoft SQL Server\MSSQL\Data\pubs.mdf', @filename2 ...Show All

  • Visual Basic Read VB6 variant from a binary file with .net

    I need read from my .net application a binary file written with VB6. I can get longs and string written with VB6  with .net BinaryReader class ut how can I read vb6 variants Do you know how variants are save in binarry file how much bytes do they take Thanks in advance Revrese engineering my dear!! I've done a VB6 program which i posted before then open the file using Binary Reader in the VS .NET then ReadBytes(with the whole file length) , add to watch ... finally i understood what is it. I have searched the internet and didn't find any usefull information about this, may you can find. If it was the answer to your question, please mark it as the answer to mark it as answered in the queue. Best Regards, ...Show All

  • Visual Studio Express Editions School Project Idea

    Hi all. I'm required to pass a proposal in school for a distributed computing project. I just want to solicit your ideas. Thanks! -Ver Hi, Basically, I'd like to do an implementation for something like SETI@Home. I'm not sure if .Net Remoting can do this. Thanks. -Ver ...Show All

  • Microsoft ISV Community Center Forums checkbox value on Workbook_Open

    I have a checkbox on my worksheet, that I would like to check the value of it when the workbook opens. Simple example would be: If the user saved the workbook with the checkbox checked, then when he opens the workbook again, then cell A1 = 1, else A1 = 2. I cannot figure out how to obtain the properties of this control (or any other toolbox control) from the Workbook_Open event. I am using Excel 2002 (10.4302.4219 SP2). Any help will be greatly appreciated. Mike Here you go. Option Explicit Private Sub Workbook_Open() Dim ws As Worksheet, o As OLEObject Set ws = Me.Worksheets("Sheet1") For Each o In ws.OLEObjects If o.Object.Value Then MsgBox "Box is checked!&quo ...Show All

  • Visual Studio Tools for Office Installing an outlook Addin on another machine

    I've been trying to install an addin that i've created with VS2005 and Office '03 however i just cannot get it to work on another computer. I've downloaded the update specifed in Shared Add-in Support Update for the Microsoft .NET Framework 2.0 (KB908002) attached it to the installer, and checked that its installed, however i just seem to get the message 'Not Loaded. A runtime error occured during the loading of the COM Add-in.' when i check out the advanced options. Its driving me crazy and i'm running out of Ideas, can anyone help me Hi James, This forum is specific for VSTO; and you can create add-ins for Outlook using VSTO; however, these are different from shared add-ins. You migh ...Show All

  • Visual Basic Desktop

    I am writing an application where the main windows need to perform like a desktop in that it contains icons for users to double click to launch the app/function. The problem that I am having is that when the user clicks on this desktop window any other open windows are hidden. How can I keep this desktop window in the background I do not want to have to set the attributes of all other windows to "Top". Hi, This seems like a strangely worded question to me. Anyway if i understand you correctly then i would suggest you use the SendKeys function to automatically SEND ALT & TAB a set number of times.   This will only work if you have a set number of windows open though. So once your user has clicked ...Show All

  • SQL Server How can I verify the availability of an SQL server

    Hello everyone, I have an ASP application mainly connected to one SQL database that works great but now I am trying to add some functionality that requires to connect to another remote SQL server. Till now all is fine except that the remote SQL server is not always online and of course when this happens my ASP application stops with the following error: Error Type: Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. in my Global.asa I setup my session variables for DSN connections and in my pages I call my SQL connection as follow: Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open Session("MySQL") SQL = "my SQL stat ...Show All

  • Smart Device Development Today Plugin: Initialization issue error => Hard Reset ... healp much more appreciated

    Hi all, So, here is my problem. I've done a little Today Plugin using VS2005 Beta 2. This plugin is working really fine, I can load it, unload it, play with it ... etc. But if I perform a soft reset while the today plugin is loaded, the pocketpc is not "booting up" anymore. So I assume the OS has some troubles to initialize my dll ... but I really don't understand why. I don't try to access to the storage card, even to the storage area. I just load some files (.bmp and text files) on the InitializeCustomeItem ... and only after having checked that  myDll::InitInstance has been performed. All this plugin is based on the "standard" project:  Visual C++ / SmartDevice / MFC Smart Device dll  (static link) OS : Windows Mob ...Show All

©2008 Software Development Network